From 178ba7b89593393b1bccc14c06e6958ff07816d3 Mon Sep 17 00:00:00 2001 From: Josh Wright Date: Mon, 9 Dec 2024 16:49:36 -0500 Subject: [PATCH] cleanup --- ct/alpine-vaultwarden.sh | 4 +++- ct/create_lxc.sh | 5 ++--- misc/build.func | 2 +- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/ct/alpine-vaultwarden.sh b/ct/alpine-vaultwarden.sh index ddaa7a9b..dddeb5f6 100644 --- a/ct/alpine-vaultwarden.sh +++ b/ct/alpine-vaultwarden.sh @@ -45,7 +45,7 @@ function default_settings() { MAC="" VLAN="" SSH="no" - VERB="yes" + VERB="no" echo_default } @@ -89,6 +89,8 @@ function update_script() { done } +msg_ok "Hi, Josh" + start build_container description diff --git a/ct/create_lxc.sh b/ct/create_lxc.sh index 54418fd7..aae2fcba 100644 --- a/ct/create_lxc.sh +++ b/ct/create_lxc.sh @@ -178,7 +178,6 @@ PCT_OPTIONS=(${PCT_OPTIONS[@]:-${DEFAULT_PCT_OPTIONS[@]}}) # Create container msg_info "Creating LXC 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." +pct create $CTID ${TEMPLATE_STORAGE}:vztmpl/${TEMPLATE} ${PCT_OPTIONS[@]} >/dev/null || + exit "A problem occured while trying to create container." msg_ok "LXC Container ${BL}$CTID${CL} ${GN}was successfully created." diff --git a/misc/build.func b/misc/build.func index 62200537..a3d2b188 100644 --- a/misc/build.func +++ b/misc/build.func @@ -151,7 +151,7 @@ echo_default() { echo -e "${DGN}Using MAC Address: ${BGN}Default${CL}" echo -e "${DGN}Using VLAN Tag: ${BGN}Default${CL}" echo -e "${DGN}Enable Root SSH Access: ${BGN}No${CL}" - echo -e "${DGN}Enable Verbose Mode: ${BGN}Yes${CL}" + echo -e "${DGN}Enable Verbose Mode: ${BGN}No${CL}" echo -e "${BL}Creating a ${APP} LXC using the above default settings${CL}" }