Add UEFI autopartitioning to SLES11 compute template
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10635 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
11abff9b71
commit
54ea79fc01
@ -91,6 +91,12 @@ chmod 755 /tmp/bar.awk
|
||||
|
||||
/tmp/bar.awk &
|
||||
/tmp/foo.awk >/tmp/foo.log 2>&1 &
|
||||
|
||||
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>!'
|
||||
fi
|
||||
]]>
|
||||
|
||||
</source>
|
||||
|
@ -31,7 +31,7 @@
|
||||
</general>
|
||||
<partitioning config:type="list">
|
||||
<drive>
|
||||
<device>/dev/sda</device>
|
||||
<device>XCATPARTITIONHOOK</device>
|
||||
<initialize config:type="boolean">true</initialize>
|
||||
<use>all</use>
|
||||
</drive>
|
||||
|
Loading…
x
Reference in New Issue
Block a user