|
@@ -3,7 +3,15 @@ SWAP_SIZE=$2
|
|
|
CONDOR_SIZE=$3
|
|
|
TEMP_SIZE=$4
|
|
|
VM_SIZE=$5
|
|
|
-SFDISK_SCRIPT=sfdisk-script
|
|
|
|
|
|
-# sfdisk partitions the disk following instruction in the $SFDISK_SCRIPT
|
|
|
-sfdisk $DEVICE < $SFDISK_SCRIPT
|
|
|
+# oartitioning the disk
|
|
|
+sfdisk $DEVICE <<-sfdisk-script-end
|
|
|
+ # Create a new partition table on the specified disk, and create a new Linux LVM partition
|
|
|
+ #
|
|
|
+ # partition table info
|
|
|
+ label: gpt
|
|
|
+ #
|
|
|
+ # partitions info
|
|
|
+ #start size type bootable
|
|
|
+ , ,31 ,
|
|
|
+sfdisk-script-end
|