nixos/test-instrumentation: forward journald to correct tty also in systemd initrd

This is a follow up for #339730 where forwarding was correctly setup for
stage 2 but not for stage 1 if it is using systemd.
This commit is contained in:
nikstur 2024-10-18 10:05:36 +02:00
parent 120baf417b
commit ea9b0daeee

View File

@ -90,6 +90,7 @@ in
contents."/etc/systemd/journald.conf".text = '' contents."/etc/systemd/journald.conf".text = ''
[Journal] [Journal]
ForwardToConsole=yes ForwardToConsole=yes
TTYPath=/dev/${qemu-common.qemuSerialDevice}
MaxLevelConsole=debug MaxLevelConsole=debug
''; '';