@@ -3,4 +3,7 @@ SWAP_SIZE=$2
CONDOR_SIZE=$3
TEMP_SIZE=$4
VM_SIZE=$5
-DISK_SIZE=/
+SFDISK_SCRIPT=sfdisk-script
+
+# sfdisk partitions the disk following instruction in the $SFDISK_SCRIPT
+sfdisk $DEVICE < $SFDISK_SCRIPT
@@ -0,0 +1,10 @@
+#sfdisk-script
+#This script is to be passed as standard input to sfdisk
+#It creates 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 ,