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, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# We're being booted using pv-grub, which means that we need to
|
boot.loader.grub.version = 2;
|
||||||
# generate a GRUB 1 menu without actually installing GRUB.
|
|
||||||
boot.loader.grub.version = 1;
|
|
||||||
boot.loader.grub.device = "nodev";
|
boot.loader.grub.device = "nodev";
|
||||||
boot.loader.grub.extraPerEntryConfig = "root (hd0)";
|
|
||||||
|
|
||||||
boot.initrd.kernelModules =
|
boot.initrd.kernelModules =
|
||||||
[ "xen-blkfront" "xen-tpmfront" "xen-kbdfront" "xen-fbfront"
|
[ "xen-blkfront" "xen-tpmfront" "xen-kbdfront" "xen-fbfront"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user