The Arch Linux cloud image ignores Proxmox's --ciuser/--cipassword and the cloud-init chpasswd module depending on version. The previous approach had three conflicting methods fighting each other. Fixed by: - Removed --ciuser/--cipassword from qm set (they conflict with snippet) - Removed chpasswd cloud-init module (unreliable on Arch) - Set users: [] to disable cloud-init's default user module - ALL user setup now done via runcmd (runs as root, always works): - Sets root password to 'darkforge' as fallback - Creates darkforge user via useradd + chpasswd - Grants passwordless sudo via /etc/sudoers.d/ - Enables PermitRootLogin yes as safety net - Package install via explicit pacman commands instead of packages: module (Arch cloud-init packages module can be unreliable) - Added pacman-key --init/--populate before package install Login credentials: user: darkforge password: darkforge user: root password: darkforge (fallback) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
8.6 KiB
Executable File
8.6 KiB
Executable File