diff --git a/ct/debian-v3.sh b/ct/debian-v3.sh index d2e4d972..0c11983d 100644 --- a/ct/debian-v3.sh +++ b/ct/debian-v3.sh @@ -335,9 +335,9 @@ msg_info "Starting LXC Container" pct start $CTID msg_ok "Started LXC Container" -#alias lxc-cmd="lxc-attach -n $CTID --" +alias lxc-cmd="lxc-attach -n $CTID --" -lxc-attach -n $CTID -- bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/debian-install.sh)" || exit +lxc-cmd bash -c "$(wget -qLO - https://raw.githubusercontent.com/tteck/Proxmox/main/setup/debian-install.s> IP=$(pct exec $CTID ip a s dev eth0 | sed -n '/inet / s/\// /p' | awk '{print $2}')