[bug#34929,09/12] vm: 'virtualized-operating-system' inherits from the user's bootloader config.

Message ID 20190320230435.25458-9-ludo@gnu.org
State Accepted
Commit 132823c2acd34f46d6df89ce3635db62643a09c8
Headers show
Series None | expand

Checks

Context Check Description
cbaines/applying patch success Successfully applied
cbaines/applying patch success Successfully applied
cbaines/applying patch success Successfully applied
cbaines/applying patch success Successfully applied
cbaines/applying patch success Successfully applied
cbaines/applying patch success Successfully applied
cbaines/applying patch success Successfully applied

Commit Message

Ludovic Courtès March 20, 2019, 11:04 p.m. UTC
* gnu/system/vm.scm (virtualized-operating-system): Inherit from the
bootloader of OS.
---
 gnu/system/vm.scm | 1 +
 1 file changed, 1 insertion(+)

Patch

diff --git a/gnu/system/vm.scm b/gnu/system/vm.scm
index b671c74ab8..b529cc4631 100644
--- a/gnu/system/vm.scm
+++ b/gnu/system/vm.scm
@@ -787,6 +787,7 @@  environment with the store shared with the host.  MAPPINGS is a list of
     ;; force the traditional i386/BIOS method.
     ;; See <https://bugs.gnu.org/28768>.
     (bootloader (bootloader-configuration
+                  (inherit (operating-system-bootloader os))
                   (bootloader grub-bootloader)
                   (target "/dev/vda")))