Ignore:
Timestamp:
May 3, 2009, 2:50:29 AM (15 years ago)
Author:
broder
Message:

In invirt-autoinstaller:

  • We're using bashisms in 93-setup-grub, so let's use bash.
File:
1 edited

Legend:

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

    r2341 r2343  
    1 #!/bin/sh
     1#!/bin/bash
    22#
    33#  This script sets up the ParaVM to use pygrub
     
    8787done
    8888sed -i -e "s#root=[^ ]*#root=UUID=$ROOT_UUID#" ${prefix}/boot/grub/menu.lst
    89 sed -i -e "s#${ROOT_GUEST}#${ROOT_UUID}#" ${prefix}/etc/fstab
    90 sed -i -e "s#${SWAP_GUEST}#${SWAP_UUID}#" ${prefix}/etc/fstab
     89sed -i -e "s#${ROOT_GUEST}#UUID=${ROOT_UUID}#" ${prefix}/etc/fstab
     90sed -i -e "s#${SWAP_GUEST}#UUID=${SWAP_UUID}#" ${prefix}/etc/fstab
    9191
    9292#
Note: See TracChangeset for help on using the changeset viewer.