gitea-runner-setup asks on the console for the number of parallel jobs, the Gitea URL and a registration token, and registers the runner. It runs until the runner is registered, and logins wait for it, as for systemd-firstboot. The capacity goes to a drop-in of gitea-runner.service, which passes it to the config as CAPACITY, so the config stays read-only. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
27 lines
1005 B
Plaintext
27 lines
1005 B
Plaintext
# 50-runneros.preset enables the services of the image. PID 1 applies it at
|
|
# first boot, so a change reaches existing machines only after a factory reset.
|
|
# It sorts before Fedora's presets, so it wins where they disagree.
|
|
|
|
# systemd-networkd is disabled by Fedora, which uses NetworkManager.
|
|
enable systemd-networkd.service
|
|
|
|
# gitea-runner-setup.service registers the runner, and gitea-runner.path then
|
|
# starts it.
|
|
enable gitea-runner-setup.service
|
|
enable gitea-runner.path
|
|
disable gitea-runner.service
|
|
|
|
# getty@.service is the login on the screen, which Fedora disables.
|
|
enable getty@.service
|
|
enable systemd-sysupdate-update.timer
|
|
enable systemd-sysupdate-reboot.timer
|
|
|
|
# authselect-apply-changes fails, because /etc/authselect is on read-only /usr.
|
|
disable authselect-apply-changes.service
|
|
|
|
# systemd-homed, systemd-userdbd and systemd-nsresourced are unused here.
|
|
disable systemd-homed.service
|
|
disable systemd-homed-activate.service
|
|
disable systemd-userdbd.socket
|
|
disable systemd-nsresourced.socket
|