testing...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-01-08 01:12:13 +03:00
parent 526e9f4ab7
commit 29c236c134

View File

@ -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..."