First-boot setup on the serial console too

The setup asked only on the screen (tty1); it now also asks on the serial console (ttyS0), so a
VM can be set up from a serial terminal or a script. Whichever console is answered first stops
the setup on the other.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01V27snprgiQMRMB6RRDNjCX
This commit is contained in:
Job79andClaude Opus 5.5 committed 2026-11-14 12:21:50 +00:00
1 parent fd1ef420cd
commit 5f2a5c2b23
6 files changed
+28 -21

No files matched your search

@@ -3,7 +3,8 @@
Description=Gitea Actions runner
Wants=network-online.target gitea-runner-images.service
# gitea-runner-setup writes runner.env on first boot.
After=network-online.target podman.socket gitea-runner-images.service gitea-runner-setup.service
After=network-online.target podman.socket gitea-runner-images.service
After=gitea-runner-setup@tty1.service gitea-runner-setup@ttyS0.service
Requires=podman.socket
[Service]