|
|
@ -116,7 +116,7 @@ TEMPLATE="${TEMPLATES[-1]}"
|
|
|
|
|
|
|
|
|
|
|
|
if ! pveam list $TEMPLATE_STORAGE | grep -q $TEMPLATE; then
|
|
|
|
if ! pveam list $TEMPLATE_STORAGE | grep -q $TEMPLATE; then
|
|
|
|
msg_info "Downloading LXC Template"
|
|
|
|
msg_info "Downloading LXC Template"
|
|
|
|
msg_ok "Downloading LXC Template"
|
|
|
|
msg_ok "Downloaded LXC Template"
|
|
|
|
pveam download $TEMPLATE_STORAGE $TEMPLATE >/dev/null ||
|
|
|
|
pveam download $TEMPLATE_STORAGE $TEMPLATE >/dev/null ||
|
|
|
|
die "A problem occured while downloading the LXC template."
|
|
|
|
die "A problem occured while downloading the LXC template."
|
|
|
|
fi
|
|
|
|
fi
|
|
|
|