2011-09-21 03:13:12 +00:00
|
|
|
<post-scripts config:type="list">
|
|
|
|
<script>
|
|
|
|
<filename>xcat.sh</filename>
|
|
|
|
<interpreter>shell</interpreter>
|
|
|
|
<source>
|
|
|
|
|
|
|
|
<![CDATA[
|
|
|
|
#!/bin/sh
|
2012-03-23 08:26:38 +00:00
|
|
|
#INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/post.sles.common#
|
|
|
|
#INCLUDE:#ENV:XCATROOT#/share/xcat/install/scripts/post.xcat#
|
2011-09-21 03:13:12 +00:00
|
|
|
# Set the second disk to be bootable for RAID1 setup
|
|
|
|
parted -s /dev/sdb mkfs 1 fat16
|
|
|
|
parted /dev/sdb set 1 type 6
|
|
|
|
parted /dev/sdb set 1 boot on
|
|
|
|
dd if=/dev/sda1 of=/dev/sdb1
|
|
|
|
bootlist -m normal sda sdb
|
|
|
|
|
|
|
|
]]>
|
|
|
|
|
|
|
|
</source>
|
|
|
|
</script>
|
|
|
|
</post-scripts>
|
|
|
|
|