Ignore:
Timestamp:
May 2, 2009, 10:56:47 PM (15 years ago)
Author:
broder
Message:

In invirt-autoinstaller:

  • Create the shell of a menu.lst file needed to successfully parse indomU=true out of it.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-autoinstaller/common/usr/lib/xen-tools/debian.d/93-setup-grub

    r2330 r2333  
    7171# If this is a Jaunty machine, the fix from LP #291256 caused our
    7272# patch to update-grub to not work, so let's use that mechanism
    73 # instead
     73# instead.
    7474#
     75# Since we haven't run update-grub yet, we need to generate the
     76# skeleton of a Debian menu.lst so that update-grub extracts the
     77# options correctly
     78#
     79cat >/boot/grub/menu.lst <<EOF
     80### BEGIN AUTOMAGIC KERNELS LIST
     81## ## Start Default Options ##
     82# indomU=true
     83## ## End Default Options ##
     84### END DEBIAN AUTOMAGIC KERNELS LIST
     85EOF
    7586sed -i -e 's/indomU=detect/indomU=true/' /boot/grub/menu.lst
    7687
Note: See TracChangeset for help on using the changeset viewer.