Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
feat: add --disable-commands flag to installer script. Related to #889
rcourtman73a92813f539
diff --git a/scripts/install.sh b/scripts/install.shindex e1a9a6057e..582010144c 100755--- a/scripts/install.sh+++ b/scripts/install.sh@@ -17,6 +17,7 @@# --interval <dur> Reporting interval (default: 30s)# --agent-id <id> Custom agent identifier (default: auto-generated)# --insecure Skip TLS certificate verification+# --disable-commands Disable AI command execution on agent# --uninstall Remove the agent## Auto-Detection:@@ -72,6 +73,7 @@ PROXMOX_TYPE=""UNINSTALL="false"INSECURE="false"AGENT_ID=""+DISABLE_COMMANDS="false"# Track if flags were explicitly set (to override auto-detection)DOCKER_EXPLICIT="false"@@ -168,6 +170,7 @@ build_exec_args() {if [[ "$ENABLE_PROXMOX" == "true" ]]; then EXEC_ARGS="$EXEC_ARGS --enable-proxmox"; fiif [[ -n "$PROXMOX_TYPE" ]]; then EXEC_ARGS="$EXEC_ARGS --proxmox-type ${PROXMOX_TYPE}"; fiif [[ "$INSECURE" == "true" ]]; then EXEC_ARGS="$EXEC_ARGS --insecure"; fi+ if [[ "$DISABLE_COMMANDS" == "true" ]]; then EXEC_ARGS="$EXEC_ARGS --disable-commands"; fiif [[ -n "$AGENT_ID" ]]; then EXEC_ARGS="$EXEC_ARGS --agent-id ${AGENT_ID}"; fi}@@ -186,6 +189,7 @@ build_exec_args_array() {if [[ "$ENABLE_PROXMOX" == "true" ]]; then EXEC_ARGS_ARRAY+=(--enable-proxmox); fiif [[ -n "$PROXMOX_TYPE" ]]; then EXEC_ARGS_ARRAY+=(--proxmox-type "$PROXMOX_TYPE"); fiif [[ "$INSECURE" == "true" ]]; then EXEC_ARGS_ARRAY+=(--insecure); fi+ if [[ "$DISABLE_COMMANDS" == "true" ]]; then EXEC_ARGS_ARRAY+=(--disable-commands); fiif [[ -n "$AGENT_ID" ]]; then EXEC_ARGS_ARRAY+=(--agent-id "$AGENT_ID"); fi}@@ -205,6 +209,7 @@ while [[ $# -gt 0 ]]; do--disable-proxmox) ENABLE_PROXMOX="false"; PROXMOX_EXPLICIT="true"; shift ;;--proxmox-type) PROXMOX_TYPE="$2"; shift 2 ;;--insecure) INSECURE="true"; shift ;;+ --disable-commands) DISABLE_COMMANDS="true"; shift ;;--uninstall) UNINSTALL="true"; shift ;;--agent-id) AGENT_ID="$2"; shift 2 ;;*) fail "Unknown argument: $1" ;;@@ -642,6 +647,10 @@ if [[ "$OS" == "darwin" ]]; thenPLIST_ARGS="${PLIST_ARGS}<string>--insecure</string>"fi+ if [[ "$DISABLE_COMMANDS" == "true" ]]; then+ PLIST_ARGS="${PLIST_ARGS}+ <string>--disable-commands</string>"+ fiif [[ -n "$AGENT_ID" ]]; thenPLIST_ARGS="${PLIST_ARGS}<string>--agent-id</string>