mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-02-01 02:29:01 +08:00
Update install_pve.sh
This commit is contained in:
parent
b6db7980b6
commit
c43cc008d5
1 changed files with 0 additions and 1 deletions
|
@ -117,7 +117,6 @@ if [ "${hostname}" != "pve" ]; then
|
|||
hostnamectl set-hostname pve
|
||||
chattr +i /etc/hostname
|
||||
hostname=$(hostname)
|
||||
chattr -i /etc/hosts
|
||||
if ! grep -q "::1 localhost" /etc/hosts; then
|
||||
echo "::1 localhost" >> /etc/hosts
|
||||
echo "Added ::1 localhost to /etc/hosts"
|
||||
|
|
Loading…
Reference in a new issue