Open Bt6K opened 1 year ago
well , but the issue is , at that step , none of our script is executed yet , so how to check ?
@Bt6K this has nothing to do with the install script but the (pre)configuration of your OS. If you do not have IPv6 connectivity you shouldn't have an IPv6 assigned in your OS in the first place. Just run these commands prior to installation and you should be fine:
echo "net.ipv6.conf.all.disable_ipv6=1" >> /etc/sysctl.conf
echo "net.ipv6.conf.default.disable_ipv6=1" >> /etc/sysctl.conf
sysctl -p
yum install -y curl
If a server has an IPv6 address assigned, but the IPv6 connectivity doesn't work, the CyberPanel installer will hang for around 5-10 minutes before proceeding:
Instead, CyberPanel should be checking for valid IPv6 connectivity using something like
ping6 google.com
, and if it fails to connect, it should fallback to IPv4.Example of the server trying to use IPv6 as standard:
Meanwhile, IPv4 works fine: