summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Bays <rbays@Utila.vyatta.com>2009-09-25 10:02:40 -0700
committerRobert Bays <rbays@Utila.vyatta.com>2009-09-25 10:02:40 -0700
commitc93e5328faa74a79d219ce96d95417ba1adbfb8f (patch)
treea156cd86f50fa4c51093d2e6fb14eca0f4b87985
parent2cc7da45822006f8f21c062d4e01057b797f9e0b (diff)
downloadvyatta-cfg-system-c93e5328faa74a79d219ce96d95417ba1adbfb8f.tar.gz
vyatta-cfg-system-c93e5328faa74a79d219ce96d95417ba1adbfb8f.zip
limit xen dom0 memory to 512meg
-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 "}"