create_pve-mgnt-lxc.sh aktualisiert
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
# Hostname: <Host>-MGNT
|
||||
# Unprivilegiert, Passwort optional
|
||||
# Automatisches Debian 13 Template
|
||||
# WebUI-Konsole funktioniert jetzt (modern)
|
||||
# WebUI-Konsole funktioniert
|
||||
# Autostart aktiviert
|
||||
# =====================================================
|
||||
|
||||
@@ -102,5 +102,13 @@ pct set $VMID --onboot 1
|
||||
echo -e "${INDENT}Starte LXC..."
|
||||
pct start $VMID
|
||||
|
||||
echo -e "${INDENT}Installiere Curl & Sudo"
|
||||
pct exec $VMID -- bash -c "apt update && apt upgrade -y && apt install -y curl sudo"
|
||||
|
||||
echo -e "${INDENT}Newt-PVE-Mgnt"
|
||||
pct exec $VMID -- bash -c "\
|
||||
apt update && apt upgrade -y && apt install -y curl sudo && \
|
||||
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"
|
||||
|
||||
echo -e "${GREEN}${INDENT}✔ Unprivilegierter LXC $HOSTNAME (VMID $VMID) erstellt, gestartet und Autostart aktiviert!${RESET}"
|
||||
echo -e "${INDENT}Die WebUI-Konsole sollte jetzt funktionieren."
|
||||
|
||||
Reference in New Issue
Block a user