mirror of
https://github.com/tteck/Proxmox.git
synced 2024-11-24 08:52:18 +02:00
Update create_lxc.sh
This commit is contained in:
parent
fed1ea033e
commit
e6221cdfbe
@ -107,7 +107,7 @@ msg_ok "Using ${BL}$CONTAINER_STORAGE${CL} ${GN}for Container Storage."
|
||||
|
||||
msg_info "Updating LXC Template List"
|
||||
pveam update >/dev/null
|
||||
msg_ok "Updating LXC Template List"
|
||||
msg_ok "Updated LXC Template List"
|
||||
|
||||
TEMPLATE_SEARCH=${PCT_OSTYPE}-${PCT_OSVERSION:-}
|
||||
mapfile -t TEMPLATES < <(pveam available -section system | sed -n "s/.*\($TEMPLATE_SEARCH.*\)/\1/p" | sort -t - -k 2 -V)
|
||||
|
Loading…
Reference in New Issue
Block a user