minor fixes...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-06-29 13:54:21 +03:00
parent 2f9a8973ed
commit af640e2c7b
2 changed files with 6 additions and 1 deletions

View File

@ -47,6 +47,10 @@ for site in ${SITES[@]} ; do
site=${res[1]/URL=/}
res=${res[2]/RESPONSE=/}
if [ -z $res ] ; then
res='Timeout?'
fi
! [ -z $comment ] \
&& comment="$comment "

View File

@ -80,7 +80,6 @@ done
# clone...
@ pct clone ${id} ${to} --hostname ${host}
@ pct set ${to} -onboot 0
@ ./make-shares
# startup if we stopped...
@ -98,6 +97,8 @@ if ! [ -z $tpl ] ; then
@ pct template ${tpl}
fi
#----------------------------------------------------------------------
@ ./make-shares