mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-25 06:21:56 +00:00
Update create_lxc.sh
This commit is contained in:
parent
b4526eeb7b
commit
af51999c11
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user