This reverts commit r2376.
svn path=/trunk/packages/invirt-autoinstaller/; revision=2441
swap) SWAP_GUEST="$(echo ${!var} | cut -f8 -d:)";;
esac
done
-sed -i -re "s%^([= ]root=)[^ ]*%\1UUID=$ROOT_UUID%" ${prefix}/boot/grub/menu.lst
+sed -i -re "s%^(# *kopt=.*root=)[^ ]*%\1UUID=$ROOT_UUID%" ${prefix}/boot/grub/menu.lst
sed -i -e "s%${ROOT_GUEST}%UUID=${ROOT_UUID}%" ${prefix}/etc/fstab
sed -i -e "s%${SWAP_GUEST}%UUID=${SWAP_UUID}%" ${prefix}/etc/fstab
+invirt-autoinstaller (0.0.32) unstable; urgency=low
+
+ * Revert 0.0.31 - it didn't work, and left autoinstalled VMs that used
+ to work without anything in their grub menu.lst.
+
+ -- Evan Broder <broder@mit.edu> Thu, 13 Aug 2009 08:35:50 -0700
+
invirt-autoinstaller (0.0.31) unstable; urgency=low
* Hack to be differently specific when replacing the root= lines. This