testing...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2024-01-08 02:40:38 +03:00
parent 0a8ca779ef
commit 03bbfdf821
4 changed files with 6 additions and 10 deletions

View File

@ -206,10 +206,10 @@ xreadpass(){
#
# tklWaitForSetup MSG
# tklWaitForSetup
#
tklWaitForSetup(){
printf "$1"
printf "# TKL setup, this may take a while"
if [ -z $DRY_RUN ] ; then
while ! $(lxc-attach $ID -- test -e /etc/inithooks.conf) ; do
printf '.'

View File

@ -39,7 +39,7 @@ readVars
#----------------------------------------------------------------------
# XXX cores...
# NOTE: TKL gui will not function correctly without nesting enabled...
OPTS_STAGE_1="\
--hostname $CTHOSTNAME \
--cores $CORES \
@ -49,11 +49,11 @@ OPTS_STAGE_1="\
--storage local-lvm \
--rootfs local-lvm:$DRIVE \
--unprivileged 1 \
--features nesting=1
${PCT_EXTRA} \
"
OPTS_STAGE_2="\
--startup order=90,up=10 \
--onboot 1 \
"
@ -91,12 +91,10 @@ sleep ${TIMEOUT:=5}
# for tkl inithooks doc see:
# https://www.turnkeylinux.org/docs/inithooks
tklWaitForSetup "# TKL setup, this may take a while"
@ pct reboot $ID
tklWaitForSetup
echo "# Starting TKL UI..."
@ lxc-attach $ID -- /usr/sbin/trunkey-init
@ lxc-attach $ID -- /usr/sbin/turnkey-init
exit

View File

@ -54,7 +54,6 @@ OPTS_STAGE_1="\
"
OPTS_STAGE_2="\
--startup order=90,up=10 \
--onboot 1 \
"

View File

@ -53,7 +53,6 @@ OPTS_STAGE_1="\
"
OPTS_STAGE_2="\
--startup order=90,up=10 \
--onboot 1 \
"