From 9e0fb19df28b357c3f714909acd7c503cc3cc0c6 Mon Sep 17 00:00:00 2001 From: tteckster Date: Sat, 16 Apr 2022 10:05:03 -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 31fd6bb5..06570df1 100644 --- a/ct/create_lxc.sh +++ b/ct/create_lxc.sh @@ -127,8 +127,8 @@ DEFAULT_PCT_OPTIONS=( PCT_OPTIONS=( ${PCT_OPTIONS[@]:-${DEFAULT_PCT_OPTIONS[@]}} ) [[ " ${PCT_OPTIONS[@]} " =~ " -rootfs " ]] || PCT_OPTIONS+=( -rootfs $CONTAINER_STORAGE:${PCT_DISK_SIZE:-8} ) -echo -en "${GN} Creating LXC Container... " +msg_info "Creating LXC Container" pct create $CTID ${TEMPLATE_STORAGE}:vztmpl/${TEMPLATE} ${PCT_OPTIONS[@]} >/dev/null || die "A problem occured while trying to create container." -echo -e "${CM}${CL} \r" +msg_ok "Creating LXC Container" info "LXC Container ${BL}$CTID${CL} was successfully created."