vm-image: Add 'label' field.

* gnu/system/examples/vm-image.tmpl (label): New field.
This commit is contained in:
Ludovic Courtès 2019-04-30 23:12:03 +02:00
parent 4ee55938de
commit 4c13ccbf39
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 6 additions and 2 deletions

View File

@ -4,9 +4,10 @@
;; guix system reconfigure /etc/config.scm
;;
(use-modules (gnu) (srfi srfi-1))
(use-modules (gnu) (guix) (srfi srfi-1))
(use-service-modules desktop networking ssh xorg)
(use-package-modules bootloaders certs fonts nvi wget xorg)
(use-package-modules bootloaders certs fonts nvi
package-management wget xorg)
(define vm-image-motd (plain-file "motd" "
\x1b[1;37mThis is the GNU system. Welcome!\x1b[0m
@ -34,6 +35,9 @@ accounts.\x1b[0m
(locale "en_US.utf8")
(keyboard-layout (keyboard-layout "us" "altgr-intl"))
;; Label for the GRUB boot menu.
(label (string-append "GNU Guix " (package-version guix)))
(firmware '())
;; Below we assume /dev/vda is the VM's hard disk.