Update build_backend.sh

This commit is contained in:
spiritLHLS 2023-02-24 14:18:44 +08:00 committed by GitHub
parent 55768b306f
commit e6788ee7d5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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