瀏覽代碼

Update autodev.sh

tteckster 3 年之前
父節點
當前提交
58d7bd94d8
共有 1 個文件被更改,包括 3 次插入1 次删除
  1. 3 1
      autodev.sh

+ 3 - 1
autodev.sh

@@ -72,6 +72,8 @@ sed '/autodev/d' $CTID_CONFIG_PATH >CTID.conf
 cat CTID.conf >$CTID_CONFIG_PATH
 
 cat <<EOF >> $CTID_CONFIG_PATH
+lxc.cgroup2.devices.allow: a
+lxc.cap.drop:
 lxc.autodev: 1
 lxc.hook.autodev: bash -c '$HOOK_SCRIPT'
-EOF
+EOF