Browse Source

Merge "Add script for testing images really quickly"

changes/58/426358/5
Jenkins 2 years ago
parent
commit
33a1e25839
2 changed files with 6 additions and 0 deletions
  1. 1
    0
      .gitignore
  2. 5
    0
      test-image.sh

+ 1
- 0
.gitignore View File

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

+ 5
- 0
test-image.sh View File

@@ -0,0 +1,5 @@
1
+#!/bin/sh
2
+
3
+qemu-img create -f qcow2 -b client.qcow2 client-test.qcow2
4
+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
5
+rm client-test.qcow2

Loading…
Cancel
Save