mirror of
https://github.com/bashclub/zamba-lxc-toolbox.git
synced 2024-12-25 03:30:12 +01:00
Add servicename and ctis to zmb.conf inside ct
This commit is contained in:
parent
e9200a33ec
commit
cd664ba745
@ -158,6 +158,8 @@ sleep 5;
|
|||||||
pct exec $LXC_NBR -- mkdir /root/.ssh
|
pct exec $LXC_NBR -- mkdir /root/.ssh
|
||||||
pct push $LXC_NBR $LXC_AUTHORIZED_KEY /root/.ssh/authorized_keys
|
pct push $LXC_NBR $LXC_AUTHORIZED_KEY /root/.ssh/authorized_keys
|
||||||
pct push $LXC_NBR "$config" /root/zamba.conf
|
pct push $LXC_NBR "$config" /root/zamba.conf
|
||||||
|
pct exec $LXC_NBR -- sed -i "s,\${service},${service}," /root/zamba.conf
|
||||||
|
pct exec $LXC_NBR -- echo "LXC_NBR=$LXC_NBR" /root/zamba.conf
|
||||||
pct push $LXC_NBR "$PWD/src/functions.sh" /root/functions.sh
|
pct push $LXC_NBR "$PWD/src/functions.sh" /root/functions.sh
|
||||||
pct push $LXC_NBR "$PWD/src/constants.conf" /root/constants.conf
|
pct push $LXC_NBR "$PWD/src/constants.conf" /root/constants.conf
|
||||||
pct push $LXC_NBR "$PWD/src/lxc-base.sh" /root/lxc-base.sh
|
pct push $LXC_NBR "$PWD/src/lxc-base.sh" /root/lxc-base.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user