From cd664ba745238f4c71e1faee67172a91b404c25a Mon Sep 17 00:00:00 2001 From: thorstenspille Date: Tue, 5 Jul 2022 20:55:29 +0200 Subject: [PATCH] Add servicename and ctis to zmb.conf inside ct --- install.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/install.sh b/install.sh index 8f6867f..02a05b3 100755 --- a/install.sh +++ b/install.sh @@ -158,6 +158,8 @@ sleep 5; pct exec $LXC_NBR -- mkdir /root/.ssh pct push $LXC_NBR $LXC_AUTHORIZED_KEY /root/.ssh/authorized_keys 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/constants.conf" /root/constants.conf pct push $LXC_NBR "$PWD/src/lxc-base.sh" /root/lxc-base.sh