Update install_pve.sh

This commit is contained in:
spiritlhl 2023-05-28 23:27:03 +08:00 committed by GitHub
parent d8a240a06f
commit 1a423bd80e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -264,7 +264,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" "lshw" "iproute2" "net-tools" "cloud-init" "novnc") # "isc-dhcp-server" "ifupdown2"
modules=("sudo" "lshw" "iproute2" "ifupdown2" "net-tools" "cloud-init" "novnc") # "isc-dhcp-server"
for module in "${modules[@]}"
do
if dpkg -s $module > /dev/null 2>&1 ; then