Update install_pve6.sh

This commit is contained in:
spiritLHLS 2023-02-19 09:52:43 +08:00 committed by GitHub
parent f649fa4351
commit e55a4a488a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -35,6 +35,7 @@ hostnamectl set-hostname pve
ip=$(curl -s ipv4.ip.sb)
echo "127.0.0.1 localhost.localdomain localhost" | tee -a /etc/hosts
echo "${ip} pve.proxmox.com pve" | tee -a /etc/hosts
sudo chattr +i /etc/hosts
## China_IP
if [[ -z "${CN}" ]]; then