Update install_pve.sh

This commit is contained in:
spiritlhl 2023-06-26 23:10:51 +08:00 committed by GitHub
parent 6cf5b579e7
commit 776c0210ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,6 +113,7 @@ if [[ -f "/etc/network/interfaces.d/50-cloud-init" && -f "/etc/network/interface
fi
chattr -i /etc/network/interfaces
cat /etc/network/interfaces.d/50-cloud-init >> /etc/network/interfaces
chattr -i /etc/network/interfaces.d/50-cloud-init
rm /etc/network/interfaces.d/50-cloud-init
chattr +i /etc/network/interfaces
fi