Enable console on serial port and print public ssh host key when booting
This commit is contained in:
parent
6885c40c10
commit
8a16dd0af2
3 changed files with 24 additions and 1 deletions
|
@ -1,4 +1,10 @@
|
|||
{ ... }:
|
||||
{
|
||||
# Enable console output on TTY1 and serial console
|
||||
boot.kernelParams = [
|
||||
"console=tty1"
|
||||
"console=ttyS0,115200"
|
||||
];
|
||||
|
||||
services.qemuGuest.enable = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue