fix(installer): public IPv4 link does not work
This commit is contained in:
@@ -253,6 +253,11 @@ if [ "$OS_TYPE" = "endeavouros" ]; then
|
|||||||
OS_TYPE="arch"
|
OS_TYPE="arch"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Check if the OS is Cachy OS, if so, change it to arch
|
||||||
|
if [ "$OS_TYPE" = "cachyos" ]; then
|
||||||
|
OS_TYPE="arch"
|
||||||
|
fi
|
||||||
|
|
||||||
# Check if the OS is Asahi Linux, if so, change it to fedora
|
# Check if the OS is Asahi Linux, if so, change it to fedora
|
||||||
if [ "$OS_TYPE" = "fedora-asahi-remix" ]; then
|
if [ "$OS_TYPE" = "fedora-asahi-remix" ]; then
|
||||||
OS_TYPE="fedora"
|
OS_TYPE="fedora"
|
||||||
@@ -844,7 +849,7 @@ IPV6_PUBLIC_IP=$(curl -6s https://ifconfig.io || true)
|
|||||||
|
|
||||||
echo -e "\nYour instance is ready to use!\n"
|
echo -e "\nYour instance is ready to use!\n"
|
||||||
if [ -n "$IPV4_PUBLIC_IP" ]; then
|
if [ -n "$IPV4_PUBLIC_IP" ]; then
|
||||||
echo -e "You can access Coolify through your Public IPV4: http://$(curl -4s https://ifconfig.io):8000"
|
echo -e "You can access Coolify through your Public IPV4: http://$IPV4_PUBLIC_IP:8000"
|
||||||
fi
|
fi
|
||||||
if [ -n "$IPV6_PUBLIC_IP" ]; then
|
if [ -n "$IPV6_PUBLIC_IP" ]; then
|
||||||
echo -e "You can access Coolify through your Public IPv6: http://[$IPV6_PUBLIC_IP]:8000"
|
echo -e "You can access Coolify through your Public IPv6: http://[$IPV6_PUBLIC_IP]:8000"
|
||||||
|
@@ -849,7 +849,7 @@ IPV6_PUBLIC_IP=$(curl -6s https://ifconfig.io || true)
|
|||||||
|
|
||||||
echo -e "\nYour instance is ready to use!\n"
|
echo -e "\nYour instance is ready to use!\n"
|
||||||
if [ -n "$IPV4_PUBLIC_IP" ]; then
|
if [ -n "$IPV4_PUBLIC_IP" ]; then
|
||||||
echo -e "You can access Coolify through your Public IPV4: http://[$IPV4_PUBLIC_IP]:8000"
|
echo -e "You can access Coolify through your Public IPV4: http://$IPV4_PUBLIC_IP:8000"
|
||||||
fi
|
fi
|
||||||
if [ -n "$IPV6_PUBLIC_IP" ]; then
|
if [ -n "$IPV6_PUBLIC_IP" ]; then
|
||||||
echo -e "You can access Coolify through your Public IPv6: http://[$IPV6_PUBLIC_IP]:8000"
|
echo -e "You can access Coolify through your Public IPv6: http://[$IPV6_PUBLIC_IP]:8000"
|
||||||
|
Reference in New Issue
Block a user