From a8fa59aa73ec27ddf0230435d684fdb0564f0b5e Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 7 Oct 2013 11:13:58 +0200 Subject: [PATCH] Amazon's pv-grub is GRUB 1 --- modules/virtualisation/amazon-image.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/virtualisation/amazon-image.nix b/modules/virtualisation/amazon-image.nix index 11939c9ba967..7e04f0d29114 100644 --- a/modules/virtualisation/amazon-image.nix +++ b/modules/virtualisation/amazon-image.nix @@ -72,6 +72,7 @@ with pkgs.lib; boot.kernelModules = [ "xen-netfront" ]; # Generate a GRUB menu. Amazon's pv-grub uses this to boot our kernel/initrd. + boot.loader.grub.version = 1; boot.loader.grub.device = "nodev"; boot.loader.grub.timeout = 0; boot.loader.grub.extraPerEntryConfig = "root (hd0)";