|
|
|
@ -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/ |
|
|
|
|