Update build_backend.sh

This commit is contained in:
spiritLHLS 2023-02-23 22:41:11 +08:00 committed by GitHub
parent 7d92d416d5
commit 013938bd42
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,6 +57,10 @@ _green "资源池 mypool 已创建!"
# systemctl restart networking.service # systemctl restart networking.service
# echo "网桥 vmbr1 已创建!" # echo "网桥 vmbr1 已创建!"
# 安装ifupdown2模块
apt-get update
apt-get install -y ifupdown2
# 检测AppArmor模块 # 检测AppArmor模块
if ! dpkg -s apparmor > /dev/null 2>&1; then if ! dpkg -s apparmor > /dev/null 2>&1; then
_green "正在安装 AppArmor..." _green "正在安装 AppArmor..."