mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-02-01 02:29:01 +08:00
Update install_pve7.sh
This commit is contained in:
parent
fd5e304622
commit
b4ad159331
1 changed files with 1 additions and 0 deletions
|
@ -16,6 +16,7 @@ fi
|
|||
curl -L https://raw.githubusercontent.com/spiritLHLS/one-click-installation-script/main/check_sudo.sh -o check_sudo.sh && chmod +x check_sudo.sh && bash check_sudo.sh > /dev/null 2>&1
|
||||
# sysctl -w net.ipv6.conf.all.disable_ipv6=1
|
||||
# sysctl -w net.ipv6.conf.default.disable_ipv6=1
|
||||
sed -i '/127.0.0.1 localhost/d' /etc/hosts
|
||||
hostname=$(cat /etc/hostname)
|
||||
ip_address=$(hostname --ip-address)
|
||||
if grep -q "^$ip_address" /etc/hosts; then
|
||||
|
|
Loading…
Reference in a new issue