mirror of https://github.com/tteck/Proxmox.git
Update create_lxc.sh
This commit is contained in:
parent
3f14c62f2e
commit
ea37a7f2f0
|
@ -116,7 +116,6 @@ 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 "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."
|
||||||
msg_ok "Downloaded LXC Template"
|
msg_ok "Downloaded LXC Template"
|
||||||
|
|
Loading…
Reference in New Issue