From df2b04daaf27329b69ff614d56a021db454152df Mon Sep 17 00:00:00 2001 From: ArchemedIan <105951210+ArchemedIan@users.noreply.github.com> Date: Sun, 3 Sep 2023 10:47:56 -0400 Subject: [PATCH] Update create_lxc.sh --- ct/create_lxc.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ct/create_lxc.sh b/ct/create_lxc.sh index 7b7cbf9c..78807e99 100644 --- a/ct/create_lxc.sh +++ b/ct/create_lxc.sh @@ -189,8 +189,8 @@ PCT_OPTIONS=(${PCT_OPTIONS[@]:-${DEFAULT_PCT_OPTIONS[@]}}) # Create container msg_info "Creating LXC Container" if [ "$arm64ct" = "yes" ]; then - pct create $CTID ctgrabtmp:vztmpl/${TEMPLATE} ${PCT_OPTIONS[@]} >/dev/null || exit "A problem occured while trying to create container." - pvesm remove ctgrabtmp + pct create $CTID ctgrabtmp:vztmpl/${TEMPLATE} ${PCT_OPTIONS[@]} >/dev/null 2>&1 || exit "A problem occured while trying to create container." + pvesm remove ctgrabtmp>/dev/null 2>&1 else pct create $CTID ${TEMPLATE_STORAGE}:vztmpl/${TEMPLATE} ${PCT_OPTIONS[@]} >/dev/null || exit "A problem occured while trying to create container." fi