balg02: Specify console kernel argument for ttyS0
* .guix/guix-na/config/balg02.scm: Remove export of temporary balg02 function
This commit is contained in:
parent
41860316d0
commit
fcc9d4815f
@ -27,24 +27,28 @@
|
||||
#:use-module (gnu services networking)
|
||||
#:use-module (gnu services ssh)
|
||||
#:use-module (gnu services web)
|
||||
#:export (balg02 %system))
|
||||
#:export (%system))
|
||||
|
||||
(define %automation-user "auto")
|
||||
|
||||
(define (balg02 disk)
|
||||
(define %system
|
||||
(operating-system
|
||||
(host-name "balg02")
|
||||
(timezone "US/Central")
|
||||
(locale "en_US.utf8")
|
||||
(keyboard-layout (keyboard-layout "us"))
|
||||
|
||||
(kernel-arguments
|
||||
(cons* "console=ttyS0,115200" "console=tty0"
|
||||
%default-kernel-arguments))
|
||||
|
||||
(bootloader (bootloader-configuration
|
||||
(bootloader grub-efi-bootloader)
|
||||
(terminal-inputs '(console serial_1))
|
||||
(terminal-outputs '(console serial_1))
|
||||
(serial-unit 1)
|
||||
(serial-speed 115200)
|
||||
(targets `(,disk))))
|
||||
(targets '("/boot/efi"))))
|
||||
|
||||
(file-systems (append
|
||||
(list (file-system
|
||||
@ -116,6 +120,4 @@
|
||||
(gateway "216.37.76.1"))))
|
||||
(name-servers '("216.37.64.2" "216.37.64.3")))))
|
||||
(service ntp-service-type))
|
||||
%base-services))))
|
||||
|
||||
(define %system (balg02 "/dev/sda"))
|
||||
%base-services))))
|
||||
|
Loading…
Reference in New Issue
Block a user