Merge "Add script for testing images really quickly"

This commit is contained in:
Jenkins 2017-01-28 15:38:09 +00:00 committed by Gerrit Code Review
commit 33a1e25839
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