diff --git a/scripts/install_pve.sh b/scripts/install_pve.sh index 1964362..d35436f 100644 --- a/scripts/install_pve.sh +++ b/scripts/install_pve.sh @@ -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"