mirror of
https://github.com/thelittlerocket/pve.git
synced 2024-11-15 19:44:38 +08:00
Update build_backend.sh
This commit is contained in:
parent
67ac879fd0
commit
d13bbbb4c1
1 changed files with 3 additions and 2 deletions
|
@ -18,8 +18,9 @@ else
|
|||
_green "资源池 $POOL_ID 已创建!"
|
||||
fi
|
||||
|
||||
# 安装必备模块并删除apt源中的无效订阅
|
||||
rm -f /etc/apt/sources.list.d/pve-enterprise.list
|
||||
# 安装必备模块并替换apt源中的无效订阅
|
||||
cp /etc/apt/sources.list.d/pve-enterprise.list /etc/apt/sources.list.d/pve-enterprise.list.bak
|
||||
echo "deb http://download.proxmox.com/debian/pve $(lsb_release -sc) pve-no-subscription" > /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")
|
||||
|
|
Loading…
Reference in a new issue