Merge #71
71: kexec fixes in google cloud r=Mic92 a=Mic92 Co-authored-by: Jörg Thalheim <joerg@thalheim.io>
This commit is contained in:
commit
18563a8ecb
1 changed files with 3 additions and 3 deletions
|
@ -37,7 +37,7 @@ in {
|
||||||
key="$home/$file"
|
key="$home/$file"
|
||||||
if [[ -e "$key" ]]; then
|
if [[ -e "$key" ]]; then
|
||||||
# workaround for debian shenanigans
|
# workaround for debian shenanigans
|
||||||
grep -o '\(ssh-[^ ]* .*\)' "$key" >> ssh/authorized_keys
|
grep -o '\(ssh-[^ ]* .*\)' "$key" >> ssh/authorized_keys || true
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
|
@ -98,10 +98,10 @@ in {
|
||||||
|
|
||||||
# IPMI SOL console redirection stuff
|
# IPMI SOL console redirection stuff
|
||||||
boot.kernelParams =
|
boot.kernelParams =
|
||||||
[ "console=ttyS0,115200" ] ++
|
[ "console=tty0" ] ++
|
||||||
(lib.optional (pkgs.stdenv.hostPlatform.isAarch32 || pkgs.stdenv.hostPlatform.isAarch64) "console=ttyAMA0,115200") ++
|
(lib.optional (pkgs.stdenv.hostPlatform.isAarch32 || pkgs.stdenv.hostPlatform.isAarch64) "console=ttyAMA0,115200") ++
|
||||||
(lib.optional (pkgs.stdenv.hostPlatform.isRiscV) "console=ttySIF0,115200") ++
|
(lib.optional (pkgs.stdenv.hostPlatform.isRiscV) "console=ttySIF0,115200") ++
|
||||||
[ "console=tty0" ];
|
[ "console=ttyS0,115200" ];
|
||||||
|
|
||||||
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