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