mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-29 11:10:09 +00:00
minor fixes...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
2f9a8973ed
commit
af640e2c7b
@ -47,6 +47,10 @@ for site in ${SITES[@]} ; do
|
|||||||
site=${res[1]/URL=/}
|
site=${res[1]/URL=/}
|
||||||
res=${res[2]/RESPONSE=/}
|
res=${res[2]/RESPONSE=/}
|
||||||
|
|
||||||
|
if [ -z $res ] ; then
|
||||||
|
res='Timeout?'
|
||||||
|
fi
|
||||||
|
|
||||||
! [ -z $comment ] \
|
! [ -z $comment ] \
|
||||||
&& comment="$comment "
|
&& comment="$comment "
|
||||||
|
|
||||||
|
|||||||
@ -80,7 +80,6 @@ done
|
|||||||
# clone...
|
# clone...
|
||||||
@ pct clone ${id} ${to} --hostname ${host}
|
@ pct clone ${id} ${to} --hostname ${host}
|
||||||
@ pct set ${to} -onboot 0
|
@ pct set ${to} -onboot 0
|
||||||
@ ./make-shares
|
|
||||||
|
|
||||||
|
|
||||||
# startup if we stopped...
|
# startup if we stopped...
|
||||||
@ -98,6 +97,8 @@ if ! [ -z $tpl ] ; then
|
|||||||
@ pct template ${tpl}
|
@ pct template ${tpl}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
#----------------------------------------------------------------------
|
||||||
|
|
||||||
@ ./make-shares
|
@ ./make-shares
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user