From 8da4db84e17d65f7aa8daee67f38f88b8a775c7d Mon Sep 17 00:00:00 2001 From: Josh Wright Date: Mon, 9 Dec 2024 16:34:06 -0500 Subject: [PATCH] oh brother --- ct/create_lxc.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ct/create_lxc.sh b/ct/create_lxc.sh index 5e556294..54418fd7 100644 --- a/ct/create_lxc.sh +++ b/ct/create_lxc.sh @@ -178,7 +178,7 @@ PCT_OPTIONS=(${PCT_OPTIONS[@]:-${DEFAULT_PCT_OPTIONS[@]}}) # Create container msg_info "Creating LXC Container" -print "$CTID ${TEMPLATE_STORAGE}:vztmpl/${TEMPLATE} ${PCT_OPTIONS[@]}" -pct create $CTID ${TEMPLATE_STORAGE}:vztmpl/${TEMPLATE} ${PCT_OPTIONS[@]} >/dev/null || - exit "A problem occured while trying to create container." +cmd="pct create $CTID ${TEMPLATE_STORAGE}:vztmpl/${TEMPLATE} ${PCT_OPTIONS[@]}" +echo "$cmd" # debugging to see the expanded command +$cmd >/dev/null || exit "A problem occurred while trying to create the container." msg_ok "LXC Container ${BL}$CTID${CL} ${GN}was successfully created."