The [Runtime] section of mkosi.conf sets up mkosi vm for testing: it
passes the setup credentials (mkosi.credentials/agent.ssh-key prints your
own ssh keys), forwards ssh to port 2222 and adds the serial console,
since systemd-stub ignores the console= mkosi passes under Secure Boot.
Untested: in a container without systemd, mkosi vm hangs before qemu
starts, because it can't create a systemd scope.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
agent-setup takes its answers from the credentials agent.password,
agent.hostname and agent.ssh-key when they are given, so a test VM boots
without typing. The README is shorter, explains the mkosi layout and
shows how to boot a test VM with these credentials. Also uploads the
manifest in the os workflow and ignores the test VM files.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Give every file a header (title, empty line, explanation), wrap comments
at 80 columns and keep them to the why. Only comments change.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>