diff options
author | An-Cheng Huang <ancheng@vyatta.com> | 2010-04-09 18:34:24 -0700 |
---|---|---|
committer | An-Cheng Huang <ancheng@vyatta.com> | 2010-04-09 18:34:24 -0700 |
commit | 43b8837e53259e9f50cea116c21c42d3efd059c7 (patch) | |
tree | 2962d14bc686bb4e14eb44d4a70b7bc79504075c /scripts | |
parent | 09657d3d6c0b316872e32efab38334d08351c0b8 (diff) | |
download | vyatta-cfg-system-43b8837e53259e9f50cea116c21c42d3efd059c7.tar.gz vyatta-cfg-system-43b8837e53259e9f50cea116c21c42d3efd059c7.zip |
increase xen hypervisor heap size
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/vyatta-grub-setup | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/scripts/vyatta-grub-setup b/scripts/vyatta-grub-setup index 19a8be06..83a1c1f9 100755 --- a/scripts/vyatta-grub-setup +++ b/scripts/vyatta-grub-setup @@ -181,12 +181,13 @@ fi echo "" # create xen kernels if they exist + XEN_OPTS='dom0_mem=512M xenheap_megabytes=128' if [ -n "$xen_kernel_version" ]; then for xversion in $xen_kernel_version; do echo echo echo -e "menuentry \"Vyatta Xen linux$xversion dom0\" {" - echo -e "\tmultiboot /boot/$xen_version dom0_mem=512M" + echo -e "\tmultiboot /boot/$xen_version $XEN_OPTS" echo -e "\tmodule /boot/vmlinuz$xversion $GRUB_OPTIONS $vty_console" echo -e "\tmodule /boot/initrd.img$xversion" echo -e "}" @@ -198,7 +199,7 @@ fi echo echo echo -e "menuentry \"Vyatta Xen linux$xversion dom0\" {" - echo -e "\tmultiboot /boot/$livedir/$union_xen_version dom0_mem=512M" + echo -e "\tmultiboot /boot/$livedir/$union_xen_version $XEN_OPTS" echo -e "\tmodule /boot/$livedir/vmlinuz$xversion $GRUB_OPTIONS $vty_console" echo -e "\tmodule /boot/$livedir/initrd.img$xversion" echo -e "}" |