Update install_pve.sh

This commit is contained in:
spiritLHLS 2023-05-21 16:26:33 +08:00 committed by GitHub
parent 3c596fa339
commit b3c2c7c483
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -235,7 +235,7 @@ cp /etc/apt/sources.list.d/pve-enterprise.list /etc/apt/sources.list.d/pve-enter
rm -rf /etc/apt/sources.list.d/pve-enterprise.list
apt-get update
install_required_modules() {
modules=("sudo" "ifupdown2" "lshw" "iproute2" "net-tools" "cloud-init" "novnc") # "isc-dhcp-server"
modules=("sudo" "lshw" "iproute2" "net-tools" "cloud-init" "novnc") # "isc-dhcp-server" "ifupdown2"
for module in "${modules[@]}"
do
if dpkg -s $module > /dev/null 2>&1 ; then