From c43cc008d5bf5c50dd3c300e928fd56c0e6c09a6 Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Wed, 24 May 2023 14:42:52 +0800 Subject: [PATCH] Update install_pve.sh --- scripts/install_pve.sh | 1 - 1 file changed, 1 deletion(-) 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"