Merge pull request #22715 from phi-gamma/fix-22709-xen-domU

xen: update domU config for pvgrub2
This commit is contained in:
Franz Pletz 2017-02-21 06:14:12 +01:00 committed by GitHub
commit 05c2c13182

View File

@ -3,11 +3,8 @@
{ config, pkgs, ... }:
{
# We're being booted using pv-grub, which means that we need to
# generate a GRUB 1 menu without actually installing GRUB.
boot.loader.grub.version = 1;
boot.loader.grub.version = 2;
boot.loader.grub.device = "nodev";
boot.loader.grub.extraPerEntryConfig = "root (hd0)";
boot.initrd.kernelModules =
[ "xen-blkfront" "xen-tpmfront" "xen-kbdfront" "xen-fbfront"