mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 15:03:28 +00:00
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:
parent
120baf417b
commit
ea9b0daeee
@ -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
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user