Fix a problem where partition recipe was incorrectly written out

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16131 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2013-04-30 17:48:02 +00:00
parent 06a0dcb472
commit de0d1d84ec

View File

@ -94,12 +94,12 @@ chmod 755 /tmp/foo.sh
if [ -d /sys/firmware/efi ]; then
echo "ubuntu-efi ::" > /tmp/partitioning
echo " 512 512 1024 fat16" >> /tmp/partitioning
echo " $iflabel{ gpt } $reusemethod{ } method{ efi } format{ }" >> /tmp/partitioning
echo ' $iflabel{ gpt } $reusemethod{ } method{ efi } format{ }' >> /tmp/partitioning
echo " ." >> /tmp/partitioning
else
echo "ubuntu-boot ::" > /tmp/partitioning
echo "100 50 100 ext3" >> /tmp/partitioning
echo " $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot }" >> /tmp/partitioning
echo ' $primary{ } $bootable{ } method{ format } format{ } use_filesystem{ } filesystem{ ext3 } mountpoint{ /boot }' >> /tmp/partitioning
echo " ." >> /tmp/partitioning
fi
echo "500 10000 1000000000 ext3" >> /tmp/partitioning