v0.5.14 ships a working install but auto-install harness can't SSH- validate post-reboot — admin user has no authorized_keys, hardened sshd rejects all auth. SSH up + listening but no path to log in. Fix: detect_seed_pubkey() searches /dev/sr* for a NoCloud cidata volume (label "cidata"), parses ssh_authorized_keys: list from user-data, returns first key. generate_ks() then embeds as sshkey --username=admin "ssh-ed25519 AAAA... user@host" right after the user= directive. Anaconda creates /home/admin/.ssh/authorized_keys with right perms (700/600). Real users: drop a NoCloud seed iso next to install media (or via USB), pubkey lands automatically. auto-install.sh: existing run-vm.sh seed logic already builds the cidata iso with host pubkey. If no seed → directive line empty → anaconda treats as no-op → SSH validation blocked but install otherwise unaffected. |
||
|---|---|---|
| .. | ||
| etc | ||
| usr/local/bin | ||