Changeset 2376


Ignore:
Timestamp:
Aug 9, 2009, 2:01:18 PM (15 years ago)
Author:
broder
Message:

In invirt-autoinstaller:

  • Hack to be differently specific when replacing the root= lines. This should replace both the actual grub config lines and the kopt line, but leave lines like groot alone.
Location:
trunk/packages/invirt-autoinstaller
Files:
2 edited

Legend:

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

    r2359 r2376  
    8686    esac
    8787done
    88 sed -i -re "s%^(# *kopt=.*root=)[^ ]*%\1UUID=$ROOT_UUID%" ${prefix}/boot/grub/menu.lst
     88sed -i -re "s%^([= ]root=)[^ ]*%\1UUID=$ROOT_UUID%" ${prefix}/boot/grub/menu.lst
    8989sed -i -e "s%${ROOT_GUEST}%UUID=${ROOT_UUID}%" ${prefix}/etc/fstab
    9090sed -i -e "s%${SWAP_GUEST}%UUID=${SWAP_UUID}%" ${prefix}/etc/fstab
  • trunk/packages/invirt-autoinstaller/debian/changelog

    r2365 r2376  
     1invirt-autoinstaller (0.0.31) unstable; urgency=low
     2
     3  * Hack to be differently specific when replacing the root= lines. This
     4    should replace both the actual grub config lines and the kopt line,
     5    but leave lines like groot alone.
     6
     7 -- Evan Broder <broder@mit.edu>  Tue, 28 Jul 2009 14:39:25 -0700
     8
    19invirt-autoinstaller (0.0.30) unstable; urgency=low
    210
Note: See TracChangeset for help on using the changeset viewer.