diff options
author | Mark H Weaver <mhw@netris.org> | 2017-08-06 00:23:20 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2017-08-06 00:23:20 -0400 |
commit | f167595ba1a4e0e419adc17de6af275bedf32822 (patch) | |
tree | 6a582fbda8ad9d72962359add99e5ae219dd030d /gnu/system/vm.scm | |
parent | e3df6938acc2ba2d2f7333d911b8bdc3697f0f75 (diff) | |
parent | 01a61d7040b1794f36547b107abce6e967d59f21 (diff) | |
download | guix-f167595ba1a4e0e419adc17de6af275bedf32822.tar guix-f167595ba1a4e0e419adc17de6af275bedf32822.tar.gz |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/system/vm.scm')
-rw-r--r-- | gnu/system/vm.scm | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm index 90d29b0783..4494af0031 100644 --- a/gnu/system/vm.scm +++ b/gnu/system/vm.scm @@ -49,6 +49,7 @@ #:use-module (gnu packages admin) #:use-module (gnu bootloader) + #:use-module ((gnu bootloader grub) #:select (grub-mkrescue-bootloader)) #:use-module (gnu system shadow) #:use-module (gnu system pam) #:use-module (gnu system linux-initrd) @@ -369,6 +370,12 @@ to USB sticks meant to be read-only." #:volatile-root? #t rest))) + (bootloader (if (string=? "iso9660" file-system-type) + (bootloader-configuration + (inherit (operating-system-bootloader os)) + (bootloader grub-mkrescue-bootloader)) + (operating-system-bootloader os))) + ;; Force our own root file system. (file-systems (cons (file-system (mount-point "/") |