mirror of https://github.com/tteck/Proxmox.git
Update debian-v5.sh
This commit is contained in:
parent
66f29bb44b
commit
8ad4e6a30c
|
@ -155,7 +155,6 @@ function advanced_settings() {
|
||||||
fi
|
fi
|
||||||
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)
|
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=$?
|
exitstatus=$?
|
||||||
if [ -z $CT_ID ]; then
|
if [ -z $CT_ID ]; then
|
||||||
CT_ID="$NEXTID"
|
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"
|
msg_info "Starting LXC Container"
|
||||||
pct start $CTID
|
pct start $CTID
|
||||||
msg_ok "Started LXC Container"
|
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}')
|
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
|
pct set $CTID -description "# ${APP} ${var_version} LXC
|
||||||
### https://tteck.github.io/Proxmox/
|
### https://tteck.github.io/Proxmox/
|
||||||
|
|
Loading…
Reference in New Issue