mirror of
https://github.com/thelittlerocket/pve.git
synced 2024-11-16 03:57:07 +08:00
Update install_pve6.sh
This commit is contained in:
parent
f649fa4351
commit
e55a4a488a
1 changed files with 1 additions and 0 deletions
|
@ -35,6 +35,7 @@ hostnamectl set-hostname pve
|
||||||
ip=$(curl -s ipv4.ip.sb)
|
ip=$(curl -s ipv4.ip.sb)
|
||||||
echo "127.0.0.1 localhost.localdomain localhost" | tee -a /etc/hosts
|
echo "127.0.0.1 localhost.localdomain localhost" | tee -a /etc/hosts
|
||||||
echo "${ip} pve.proxmox.com pve" | tee -a /etc/hosts
|
echo "${ip} pve.proxmox.com pve" | tee -a /etc/hosts
|
||||||
|
sudo chattr +i /etc/hosts
|
||||||
|
|
||||||
## China_IP
|
## China_IP
|
||||||
if [[ -z "${CN}" ]]; then
|
if [[ -z "${CN}" ]]; then
|
||||||
|
|
Loading…
Reference in a new issue