diff options
author | Marius Bakke <mbakke@fastmail.com> | 2017-10-22 20:12:52 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-10-22 20:12:52 +0200 |
commit | 119a749db9c9847e0766860c17109b0f0b6bf349 (patch) | |
tree | 4cdbfcad285124c1abf7b3c1c94666cef55767ce /gnu/system/vm.scm | |
parent | 530d9e1555e8d0125dde6893f5f70c7a1ebc2564 (diff) | |
parent | 25669275a1a570cc266128274cb27a22f6a3a318 (diff) |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/system/vm.scm')
-rw-r--r-- | gnu/system/vm.scm | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm index 273a895bef..3127b305e1 100644 --- a/gnu/system/vm.scm +++ b/gnu/system/vm.scm @@ -49,7 +49,7 @@ #:use-module (gnu packages admin) #:use-module (gnu bootloader) - #:use-module ((gnu bootloader grub) #:select (grub-mkrescue-bootloader)) + #:use-module (gnu bootloader grub) #:use-module (gnu system shadow) #:use-module (gnu system pam) #:use-module (gnu system linux-initrd) @@ -565,6 +565,14 @@ environment with the store shared with the host. MAPPINGS is a list of user-file-systems))) (operating-system (inherit os) + + ;; XXX: Until we run QEMU with UEFI support (with the OVMF firmware), + ;; force the traditional i386/BIOS method. + ;; See <https://bugs.gnu.org/28768>. + (bootloader (bootloader-configuration + (bootloader grub-bootloader) + (target "/dev/vda"))) + (initrd (lambda (file-systems . rest) (apply base-initrd file-systems #:volatile-root? #t |