From: Richard W.M. Jones Date: Fri, 30 Jan 2015 11:25:14 +0000 (+0000) Subject: Make the disks random sizes from 1-3 GB, for more excitement. X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=cfe9f7933516eca591316177feb283e6941944f0;p=rhbz1184405.git Make the disks random sizes from 1-3 GB, for more excitement. --- diff --git a/Makefile b/Makefile index f83471f..4fbfe32 100644 --- 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: