summaryrefslogtreecommitdiff
path: root/scripts/vyatta-grub-setup
diff options
context:
space:
mode:
authorRobert Bays <rbays@Utila.vyatta.com>2009-09-25 10:02:40 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-10-13 16:18:41 -0700
commit19f8dfe4b8de1a0dacbd472a379d7e7c755d2fc3 (patch)
treeab9cbb145aade5d5f92aaeff70495ec546cee4c7 /scripts/vyatta-grub-setup
parenteaf30bf555c463a0b3450f44bf70a192718cb2bb (diff)
downloadvyatta-cfg-system-19f8dfe4b8de1a0dacbd472a379d7e7c755d2fc3.tar.gz
vyatta-cfg-system-19f8dfe4b8de1a0dacbd472a379d7e7c755d2fc3.zip
limit xen dom0 memory to 512meg
(cherry picked from commit c93e5328faa74a79d219ce96d95417ba1adbfb8f)
Diffstat (limited to 'scripts/vyatta-grub-setup')
-rwxr-xr-xscripts/vyatta-grub-setup4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-grub-setup b/scripts/vyatta-grub-setup
index 3510cfbd..817223b3 100755
--- a/scripts/vyatta-grub-setup
+++ b/scripts/vyatta-grub-setup
@@ -184,7 +184,7 @@ fi
echo
echo
echo -e "menuentry \"Vyatta Xen linux$xversion dom0\" {"
- echo -e "\tmultiboot /boot/$xen_version "
+ echo -e "\tmultiboot /boot/$xen_version dom0_mem=512M"
echo -e "\tmodule /boot/vmlinuz$xversion $GRUB_OPTIONS $vga_logo $vty_console"
echo -e "\tmodule /boot/initrd.img$xversion"
echo -e "}"
@@ -196,7 +196,7 @@ fi
echo
echo
echo -e "menuentry \"Vyatta Xen linux$xversion dom0\" {"
- echo -e "\tmultiboot /boot/$livedir/$union_xen_version "
+ echo -e "\tmultiboot /boot/$livedir/$union_xen_version dom0_mem=512M"
echo -e "\tmodule /boot/$livedir/vmlinuz$xversion $GRUB_OPTIONS $vga_logo $vty_console"
echo -e "\tmodule /boot/$livedir/initrd.img$xversion"
echo -e "}"