Browse Source

Remove extra sectors (problem wasn't there)

Alessandro De Gennaro 4 years ago
parent
commit
510cf56d2b
1 changed files with 1 additions and 3 deletions
  1. 1 3
      parse-arguments.sh

+ 1 - 3
parse-arguments.sh

@@ -51,9 +51,7 @@ default()
 	fi
 	VM_SIZE=$(to_sectors 100G)
 	SWAP_SIZE=$(( $RAM_SIZE + $(to_sectors 1G) ))
-	## Add 5 extra sectors for round-up
-	EXTRA_SIZE=5
-	FREE_SIZE=$(( $DEVICE_SIZE - $VM_SIZE - $SWAP_SIZE - $EXTRA_SIZE ))
+	FREE_SIZE=$(( $DEVICE_SIZE - $VM_SIZE - $SWAP_SIZE ))
 	## Condor partition is 40% of remaining space
 	CONDOR_SIZE=$(( $FREE_SIZE  * 4 / 10 ))
 	## Scratch partition is 60% of remaining space