Update create_lxc.sh
This commit is contained in:
parent
6f8b0a6064
commit
3fe924e0ca
@ -126,10 +126,18 @@ if qm status "$CTID" &>/dev/null || pct status "$CTID" &>/dev/null; then
|
|||||||
exit 206
|
exit 206
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# # Get template storage
|
||||||
|
# TEMPLATE_STORAGE=$(select_storage template)
|
||||||
|
# CONTAINER_STORAGE=$(select_storage container) || exit
|
||||||
|
# msg_ok "Template Storage: ${BL}$TEMPLATE_STORAGE${CL} ${GN}Container Storage: ${BL}$CONTAINER_STORAGE${CL}."
|
||||||
|
|
||||||
# Get template storage
|
# Get template storage
|
||||||
TEMPLATE_STORAGE=$(select_storage template)
|
TEMPLATE_STORAGE=$(select_storage template)
|
||||||
CONTAINER_STORAGE=$(select_storage container) || exit
|
msg_ok "Using ${BL}$TEMPLATE_STORAGE${CL} ${GN}for Template Storage."
|
||||||
msg_ok "Template Storage: ${BL}$TEMPLATE_STORAGE${CL} ${GN}Container Storage: ${BL}$CONTAINER_STORAGE${CL}."
|
|
||||||
|
# Get container storage
|
||||||
|
CONTAINER_STORAGE=$(select_storage container)
|
||||||
|
msg_ok "Using ${BL}$CONTAINER_STORAGE${CL} ${GN}for Container Storage."
|
||||||
|
|
||||||
# Update LXC template list
|
# Update LXC template list
|
||||||
$STD msg_info "Updating LXC Template List"
|
$STD msg_info "Updating LXC Template List"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user