mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-15 13:37:21 +03:00
xen: update domU config for pvgrub2
fix #22709 Recent pvgrub (from Grub built with “--with-platform=xen”) understands the Grub2 configuration format. Grub legacy configuration (menu.lst) is ignored.
This commit is contained in:
parent
2dba30af72
commit
3dad33227f
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user