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:
parent
5e24e2302c
commit
282feb6f6e
@ -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
|
||||
]]>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user