diff --git a/mumble-vm-system.scm.tmpl b/mumble-vm-system.scm.tmpl index 310121c..faf8a40 100644 --- a/mumble-vm-system.scm.tmpl +++ b/mumble-vm-system.scm.tmpl @@ -86,7 +86,9 @@ the services after that.") (operating-system (bootloader (bootloader-configuration (bootloader grub-minimal-bootloader) - (targets '("/dev/vda")))) + (targets '("/dev/vda")) + (terminal-outputs '(serial_0)))) + (kernel-arguments (append '("console=ttyS0"))) ;; TODO: Does Mumble have some data? Is BTRFS safer than using ext4 ;; without doing many fsck? (file-systems (cons (file-system @@ -110,6 +112,19 @@ the services after that.") (services (append (list + ;; Agetty + + ;; ttyS0 is already setup automatically due to the console=ttyS0 + ;; kernel argument + (service agetty-service-type + (agetty-configuration (term "xterm-256color") + (tty "ttyS1"))) + (service agetty-service-type + (agetty-configuration (term "xterm-256color") + (tty "ttyS2"))) + (service agetty-service-type + (agetty-configuration (term "xterm-256color") + (tty "ttyS3"))) ;; Certbot (service certbot-service-type diff --git a/mumble-vm.xml b/mumble-vm.xml index 9876123..62664c8 100644 --- a/mumble-vm.xml +++ b/mumble-vm.xml @@ -61,6 +61,21 @@ + + + + + + + + + + + + + + + @@ -87,4 +102,3 @@ -