35 lines
1.3 KiB
Diff
35 lines
1.3 KiB
Diff
|
From dfa27101877f13bf3d0c6b7cc2715bf355c9f6e5 Mon Sep 17 00:00:00 2001
|
||
|
From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?=
|
||
|
<marmarek@invisiblethingslab.com>
|
||
|
Date: Fri, 19 Oct 2018 08:02:12 +0200
|
||
|
Subject: [PATCH] anaconda: add dom0_mem=min:1024M to default xen cmdline
|
||
|
MIME-Version: 1.0
|
||
|
Content-Type: text/plain; charset=UTF-8
|
||
|
Content-Transfer-Encoding: 8bit
|
||
|
|
||
|
This will solve #959 for new installations.
|
||
|
|
||
|
Related to qubesos/qubes-issues#959
|
||
|
|
||
|
Signed-off-by: Frédéric Pierret <frederic.epitre@orange.fr>
|
||
|
---
|
||
|
pyanaconda/bootloader.py | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
diff --git a/pyanaconda/bootloader.py b/pyanaconda/bootloader.py
|
||
|
index 0e5a9a062..e726517fe 100644
|
||
|
--- a/pyanaconda/bootloader.py
|
||
|
+++ b/pyanaconda/bootloader.py
|
||
|
@@ -1504,7 +1504,7 @@ class GRUB2(GRUB):
|
||
|
# boot arguments
|
||
|
log.info("bootloader.py: used boot args: %s ", self.boot_args)
|
||
|
defaults.write("GRUB_CMDLINE_LINUX=\"%s\"\n" % self.boot_args)
|
||
|
- defaults.write("GRUB_CMDLINE_XEN_DEFAULT=\"console=none\"\n")
|
||
|
+ defaults.write("GRUB_CMDLINE_XEN_DEFAULT=\"console=none dom0_mem=min:1024M\"\n")
|
||
|
defaults.write("GRUB_DISABLE_RECOVERY=\"true\"\n")
|
||
|
defaults.write("GRUB_THEME=\"/boot/grub2/themes/system/theme.txt\"\n")
|
||
|
defaults.close()
|
||
|
--
|
||
|
2.14.4
|
||
|
|