Inject the SSH public key into the Fedora and AlmaLinux seed ISOs

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
GuofangandClaude Sonnet 5.5 committed 2026-10-30 14:02:58 +08:00
1 parent 83df64042c
commit bea0dd4d70
6 files changed
+88 -15

No files matched your search

+4
View File
@@ -4,6 +4,10 @@ This directory contains the cloud-init NoCloud configuration used by
`run-fedora44.py`. On first boot, cloud-init's package module installs Fedora's
GNOME package group and reboots the guest.
`build-seed.sh` injects your SSH public key into `user-data` (the `@SSH_PUBKEY@`
placeholder): `$SSH_PUBKEY_FILE`, else the first `~/.ssh/id_*.pub`, else the first
key offered by `ssh-agent`.
After changing `user-data`, `meta-data`, or `network-config`, remove the old
`seed.iso` and rebuild it: