mirror of
https://github.com/thelittlerocket/pve.git
synced 2024-11-15 19:44:38 +08:00
Update install_pve.sh
This commit is contained in:
parent
141892e24c
commit
9590dedc79
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue