create_pve-mgnt-lxc.sh aktualisiert

This commit is contained in:
manuel.maier committed 2026-11-10 11:32:20 +01:00
1 parent 50e0e9f3d7
commit 21619afb09
1 file changed
+6 -7
+6 -7
View File
@@ -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"