Changeset 2359 for trunk/packages/invirt-autoinstaller/common/usr/lib
- Timestamp:
- Jun 13, 2009, 10:33:39 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/invirt-autoinstaller/common/usr/lib/xen-tools/debian.d/93-setup-grub
r2343 r2359 86 86 esac 87 87 done 88 sed -i - e "s#root=[^ ]*#root=UUID=$ROOT_UUID#" ${prefix}/boot/grub/menu.lst89 sed -i -e "s #${ROOT_GUEST}#UUID=${ROOT_UUID}#" ${prefix}/etc/fstab90 sed -i -e "s #${SWAP_GUEST}#UUID=${SWAP_UUID}#" ${prefix}/etc/fstab88 sed -i -re "s%^(# *kopt=.*root=)[^ ]*%\1UUID=$ROOT_UUID%" ${prefix}/boot/grub/menu.lst 89 sed -i -e "s%${ROOT_GUEST}%UUID=${ROOT_UUID}%" ${prefix}/etc/fstab 90 sed -i -e "s%${SWAP_GUEST}%UUID=${SWAP_UUID}%" ${prefix}/etc/fstab 91 91 92 92 #
Note: See TracChangeset
for help on using the changeset viewer.