mirror of
https://github.com/tteck/Proxmox.git
synced 2026-10-08 03:02:58 +00:00
Update autodev.sh
This commit is contained in:
1 parent
b824253edf
commit
58d7bd94d8
1 file changed
+2
@@ -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
|
||||
Reference in new issue
Block a user