Add script for testing images really quickly

Change-Id: I5190e9421bdb194c264190c1383b9ed2f9c6cc0c
This commit is contained in:
Ben Swartzlander 2017-01-27 13:58:46 -05:00
parent aea5928b1c
commit 5b27037d6a
2 changed files with 6 additions and 0 deletions

1
.gitignore vendored
View File

@ -8,3 +8,4 @@ AUTHORS
ChangeLog
.eggs
*.egg-info
publish-image.sh

5
test-image.sh Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
qemu-img create -f qcow2 -b client.qcow2 client-test.qcow2
kvm -m 512 -monitor none -nographic -drive file=client-test.qcow2,if=virtio,format=qcow2 -netdev user,id=net0 -device virtio-net-pci,netdev=net0
rm client-test.qcow2