Archived
Check NixOS configurations / eval-hosts (pull_request) Successful in 10m18s
PROXMOX_SSH_USER was changed from root to wayne, but all remote pvesh/qm/pct invocations assumed root. When run as a non-root user these commands fail with ipcc_send_rec errors because they can't reach the pve-cluster IPC socket. Adds a global sudo_prefix (empty when PROXMOX_SSH_USER=root, "sudo" otherwise) and applies it to every remote Proxmox command in the script, including the duplicate-host heredoc check, pvesh nextid, vmid existence checks, resource destruction, and all create/start commands. Removes the now-redundant local sudo_prefix definition that was previously only in the VM image build branch. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>