summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-01-28 15:38:09 +0000
committerGerrit Code Review <review@openstack.org>2017-01-28 15:38:09 +0000
commit33a1e258392e811be8742d8f7014b9c9db119ecb (patch)
treecceffc9e6fa3eb8796a4fe4442e44977d42fd6f5
parent02b1c8ec5ef0573695dff902ee505ae7c7de25f0 (diff)
parent5b27037d6afde6029d7a4db9db2fe402e889bd98 (diff)
Merge "Add script for testing images really quickly"
-rw-r--r--.gitignore1
-rwxr-xr-xtest-image.sh5
2 files changed, 6 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index fba5f31..f3f7945 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@ AUTHORS
8ChangeLog 8ChangeLog
9.eggs 9.eggs
10*.egg-info 10*.egg-info
11publish-image.sh
diff --git a/test-image.sh b/test-image.sh
new file mode 100755
index 0000000..019f940
--- /dev/null
+++ b/test-image.sh
@@ -0,0 +1,5 @@
1#!/bin/sh
2
3qemu-img create -f qcow2 -b client.qcow2 client-test.qcow2
4kvm -m 512 -monitor none -nographic -drive file=client-test.qcow2,if=virtio,format=qcow2 -netdev user,id=net0 -device virtio-net-pci,netdev=net0
5rm client-test.qcow2