From 8ad4e6a30cf1def130f789430fdc96b51730735e Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 3 Feb 2023 06:10:41 -0500 Subject: [PATCH] Update debian-v5.sh --- ct/debian-v5.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/ct/debian-v5.sh b/ct/debian-v5.sh index 9427e17c..9fae150f 100644 --- a/ct/debian-v5.sh +++ b/ct/debian-v5.sh @@ -155,7 +155,6 @@ function advanced_settings() { fi fi CT_ID=$(whiptail --inputbox "Set Container ID" 8 58 $NEXTID --title "CONTAINER ID" --cancel-button Exit-Script 3>&1 1>&2 2>&3) - if [ $? -ne 0 ]; then exit 0; fi exitstatus=$? if [ -z $CT_ID ]; then CT_ID="$NEXTID" @@ -372,7 +371,7 @@ bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/ct/c msg_info "Starting LXC Container" pct start $CTID msg_ok "Started LXC Container" -lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/dev/install/$var_install.sh)" || exit +lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/install/$var_install.sh)" || exit IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}') pct set $CTID -description "# ${APP} ${var_version} LXC ### https://tteck.github.io/Proxmox/