From 29c236c13490156499b010dcbfd8c8ec926d66da Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 8 Jan 2024 01:12:13 +0300 Subject: [PATCH] testing... Signed-off-by: Alex A. Naanou --- nextcloud/make.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/nextcloud/make.sh b/nextcloud/make.sh index 298c312..6af7b5c 100755 --- a/nextcloud/make.sh +++ b/nextcloud/make.sh @@ -91,8 +91,18 @@ sleep ${TIMEOUT:=5} # for tkl inithooks doc see: # https://www.turnkeylinux.org/docs/inithooks -#echo "# Starting TKL Setup (this may take a few minutes to start)..." -#@ lxc-attach $ID -- bash --login -i +printf "# TKL setup, this may take a while" +while ! $(lxc-attach $ID -- test -e /etc/inithooks.conf) ; do + printf '.' + sleep 2 +done +echo + +echo "# Starting TKL Setup (this may take a few minutes to start)..." +@ lxc-attach $ID -- bash --login -c 'exit' + +# XXX the CT will reboot -- wait... + ##@ lxc-attach $ID -- /usr/sbin/trunkey-init # #echo "# Updating config..."