Skip to content

Self-hosted homelab infrastructure visualizer — interactive network diagram with live status monitoring

fix: replace tr/head password gen with openssl rand to avoid SIGPIPE killing script under set -o pipefail

Pouzorcae745e7d8c3
diff --git a/scripts/install-proxmox.sh b/scripts/install-proxmox.sh
index 3cec225..074bdd1 100755
--- a/scripts/install-proxmox.sh
+++ b/scripts/install-proxmox.sh
@@ -41,7 +41,7 @@ RAM="${RAM:-1024}" # MB
CORES="${CORES:-2}"
BRIDGE="${BRIDGE:-vmbr0}"
RAW="https://raw.githubusercontent.com/Pouzor/homelable/main"
-ROOT_PASSWORD="${ROOT_PASSWORD:-$(tr -dc 'A-Za-z0-9' < /dev/urandom | head -c 16)}"
+ROOT_PASSWORD="${ROOT_PASSWORD:-$(openssl rand -base64 12 | tr -d '+/=')}"
step "Creating Homelable LXC (CTID=$CTID, hostname=$CT_HOSTNAME, storage=$STORAGE)"