Add files via upload

This commit is contained in:
tteckster 2022-02-01 05:59:08 -05:00 committed by GitHub
parent 6c35083018
commit 900d4818f5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -63,7 +63,9 @@ HOOK_SCRIPT=${HOOK_SCRIPT//$'\n'/}
CTID=$1 CTID=$1
CTID_CONFIG_PATH=/etc/pve/lxc/${CTID}.conf CTID_CONFIG_PATH=/etc/pve/lxc/${CTID}.conf
sed '/autodev/d' '/devices/d' '/cap/d' $CTID_CONFIG_PATH >CTID.conf sed '/autodev/d' $CTID_CONFIG_PATH >CTID.conf
sed '/devices/d' $CTID_CONFIG_PATH >CTID.conf
sed '/cap/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