Keep a console login on Container Runner

This commit is contained in:
Pavel Isaev 2026-11-10 01:06:32 +03:00
parent ccae2e0262
commit f8649937ce

View file

@ -1,7 +1,7 @@
# Container Runner installed-system defaults. No graphical target or desktop stack.
systemctl --root=/job/core disable systemd-networkd archipelago-firstboot@ttyS0 getty@tty1 serial-getty@ttyS0
systemctl --root=/job/core disable systemd-networkd archipelago-firstboot@ttyS0 serial-getty@ttyS0
# Keep the console onboarding path; the installed system is a multi-user server.
systemctl --root=/job/core enable NetworkManager cockpit.socket
systemctl --root=/job/core enable NetworkManager cockpit.socket getty@tty1 archipelago-firstboot@tty1
systemctl --root=/job/core set-default multi-user.target
mkdir -p /job/core/etc/cockpit /job/core/etc/NetworkManager/conf.d /job/core/etc/sudoers.d
# Cockpit's stock self-signed certificate; never allow plaintext or unauthenticated use.