diff --git a/install.sh b/install.sh index f05b693..7506101 100755 --- a/install.sh +++ b/install.sh @@ -1,7 +1,10 @@ #!/bin/sh # download iso to 9front.iso -curl -L http://9front.org/iso/9front-7781.38dcaeaa222c.amd64.iso.gz -o plan9.iso +curl -L http://9front.org/iso/9front-7781.38dcaeaa222c.amd64.iso.gz -o 9front.iso.gz && gunzip 9front.iso.gz + +# create the hard drive image +qemu-img create -f qcow2 -o preallocation=metadata 9front.qcow2.img 30G # Run qemu with installation arguments qemu-system-x86_64 -hda 9front.qcow2.img -cdrom ./9front.iso -boot d -vga std -m 768