Update autodev.sh

This commit is contained in:
tteckster 2021-11-24 15:03:41 -05:00 committed by GitHub
parent 58d7bd94d8
commit 6a767618e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

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