Update install_pve.sh

This commit is contained in:
spiritLHLS 2023-02-25 22:10:28 +08:00 committed by GitHub
parent 141892e24c
commit 9590dedc79
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,7 +29,7 @@ fi
if ! command -v iptables > /dev/null 2>&1; then
apt-get install -y iptables
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
# 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
hostnamectl set-hostname pve
ip=$(curl -s ipv4.ip.sb)
if ! grep -q "127.0.0.1 localhost.localdomain localhost" /etc/hosts; then