diff --git a/create_pve-mgnt-lxc.sh b/create_pve-mgnt-lxc.sh index ed79c52..6080e40 100644 --- a/create_pve-mgnt-lxc.sh +++ b/create_pve-mgnt-lxc.sh @@ -168,13 +168,12 @@ pct start $VMID # ---- Software installieren ---- echo -e "${INDENT}Installiere Newt-PVE-Mgnt im LXC..." -pct exec $VMID -- bash -c " -apt update && -apt install -y curl sudo && -sudo timedatectl set-timezone Europe/Berlin && -curl -fsSL https://gitea.vmd55888.de/manuel.maier/update-install-newt/raw/branch/main/install_newt_v2.sh -o install_newt_v2.sh && -bash ./install_newt_v2.sh --install -" +pct exec $VMID -- bash -c "export DEBIAN_FRONTEND=noninteractive +&& apt update +&& apt install -y curl sudo +&& timedatectl set-timezone Europe/Berlin +&& curl -fsSL https://gitea.vmd55888.de/manuel.maier/update-install-newt/raw/branch/main/install_newt_v2.sh -o install_newt_v2.sh +&& bash ./install_newt_v2.sh --install" # ---- Fertig ---- echo -e "\n${GREEN}${BOLD}${INDENT}✔ Unprivilegierter LXC $HOSTNAME (VMID $VMID) erstellt, gestartet und Autostart aktiviert!${RESET}\n"