Created
April 28, 2014 07:03
-
-
Save archerslaw/11363782 to your computer and use it in GitHub Desktop.
create disk image via qemu-img.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| i=1 | |
| while [ $i -lt 1024 ] | |
| do | |
| qemu-img create -f qcow2 /home/disk/disk$i.qcow2 1G | |
| i=$(($i+1)) | |
| done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment