manila-test-image/test-image.sh
Ben Swartzlander 0c98cfee3e Wrap long lines
Fix bashate warning E006 by wrapping long lines.

Also make sure bashate runs on init scripts that don't end
in .sh.

Change-Id: I077a064505e6f11f61c65279a54c9b2430044bf0
2017-01-29 23:56:20 +00:00

8 lines
248 B
Bash
Executable File

#!/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