mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-25 17:55:01 +01:00
Add files via upload
This commit is contained in:
parent
379ec1d046
commit
5207bb3e8e
@ -66,7 +66,7 @@ CTID_CONFIG_PATH=/etc/pve/lxc/${CTID}.conf
|
|||||||
sed '/autodev/d' $CTID_CONFIG_PATH >CTID.conf
|
sed '/autodev/d' $CTID_CONFIG_PATH >CTID.conf
|
||||||
cat CTID.conf >$CTID_CONFIG_PATH
|
cat CTID.conf >$CTID_CONFIG_PATH
|
||||||
|
|
||||||
if [[ $CTID_CONFIG_PATH =~ [testing] ]];then
|
if $CTID_CONFIG_PATH =~ [testing];then
|
||||||
cat <<EOF >> $CTID_CONFIG_PATH
|
cat <<EOF >> $CTID_CONFIG_PATH
|
||||||
lxc.autodev: 1
|
lxc.autodev: 1
|
||||||
lxc.hook.autodev: bash -c '$HOOK_SCRIPT'
|
lxc.hook.autodev: bash -c '$HOOK_SCRIPT'
|
||||||
|
Loading…
Reference in New Issue
Block a user