Fix legacy install of sles11

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2011-09-27 19:30:35 +00:00
parent 5e24e2302c
commit 282feb6f6e

View File

@ -95,7 +95,7 @@ chmod 755 /tmp/bar.awk
if [ -d /sys/firmware/efi ]; then
sed -e 's!<device>XCATPARTITIONHOOK</device>!<device>/dev/sda</device><partitions config:type="list"><partition><filesystem config:type="symbol">vfat</filesystem><mount>/boot/efi</mount><size>128mb</size></partition><partition><mount>swap</mount><size>auto</size></partition><partition><mount>/</mount><size>auto</size></partition></partitions>!' /tmp/profile/autoinst.xml > /tmp/profile/modified.xml
else
sed -e 's!<device>XCATPARTITIONHOOK</device>!<device>/dev/sda</device>!'
sed -e 's!<device>XCATPARTITIONHOOK</device>!<device>/dev/sda</device>!' /tmp/profile/autoinst.xml > /tmp/profile/modified.xml
fi
]]>