Update create_lxc.sh

This commit is contained in:
tteckster 2022-04-16 11:46:18 -04:00 committed by GitHub
parent 4bebe0a0d4
commit 1de9c90afd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -130,5 +130,5 @@ PCT_OPTIONS=( ${PCT_OPTIONS[@]:-${DEFAULT_PCT_OPTIONS[@]}} )
msg_info "Creating LXC Container" msg_info "Creating LXC Container"
pct create $CTID ${TEMPLATE_STORAGE}:vztmpl/${TEMPLATE} ${PCT_OPTIONS[@]} >/dev/null || pct create $CTID ${TEMPLATE_STORAGE}:vztmpl/${TEMPLATE} ${PCT_OPTIONS[@]} >/dev/null ||
die "A problem occured while trying to create container." die "A problem occured while trying to create container."
msg_ok "LXC Container ${BL}$CTID${CL} was successfully created." msg_ok "LXC Container ${BL}$CTID${CL} ${GN}was successfully created."