Make the disks random sizes from 1-3 GB, for more excitement.
[rhbz1184405.git] / Makefile
index f83471f..4fbfe32 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@ init: init.c
 
 %.img:
        rm -f $@
-       truncate -s 1G $@
+       truncate -s $$(( RANDOM % 3 + 1 ))G $@
        echo '2048,,L' | sfdisk $@
 
 clean: