kexec-installer: make serial console more universal
This commit is contained in:
parent
1552f84331
commit
fed9c662d4
1 changed files with 5 additions and 5 deletions
|
@ -85,11 +85,11 @@ in {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# IPMI SOL console redirection stuff
|
# IPMI SOL console redirection stuff
|
||||||
boot.kernelParams = [
|
boot.kernelParams =
|
||||||
"console=ttyS0,115200n8"
|
[ "console=ttyS0,115200" ] ++
|
||||||
"console=ttyAMA0,115200n8"
|
(lib.optional (pkgs.stdenv.hostPlatform.isAarch32 || pkgs.stdenv.hostPlatform.isAarch64) "console=ttyAMA0,115200") ++
|
||||||
"console=tty0"
|
(lib.optional (pkgs.stdenv.hostPlatform.isRiscV) "console=ttySIF0,115200") ++
|
||||||
];
|
[ "console=tty0" ];
|
||||||
|
|
||||||
documentation.enable = false;
|
documentation.enable = false;
|
||||||
# Not really needed. Saves a few bytes and the only service we are running is sshd, which we want to be reachable.
|
# Not really needed. Saves a few bytes and the only service we are running is sshd, which we want to be reachable.
|
||||||
|
|
Loading…
Reference in a new issue