blade: enable serial console for GRUB and boot
This commit is contained in:
parent
ff2be56561
commit
bb1178e82c
1 changed files with 11 additions and 0 deletions
|
@ -159,6 +159,17 @@ in {
|
||||||
ProcessSizeMax=0
|
ProcessSizeMax=0
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
# Enable serial console.
|
||||||
|
loader.grub.extraConfig = ''
|
||||||
|
serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1
|
||||||
|
terminal_input console serial
|
||||||
|
terminal_output console serial
|
||||||
|
'';
|
||||||
|
boot.kernelParams = [
|
||||||
|
"console=tty1"
|
||||||
|
"console=ttyS0,115200" # <-- /dev/console
|
||||||
|
];
|
||||||
|
|
||||||
system.stateVersion = "21.05";
|
system.stateVersion = "21.05";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue