LAVA: mark kvm devices as autostart and start after creation
authorJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 19 Nov 2018 23:24:45 +0000 (18:24 -0500)
committerJonathan Rajotte <jonathan.rajotte-julien@efficios.com>
Mon, 19 Nov 2018 23:24:45 +0000 (18:24 -0500)
Signed-off-by: Jonathan Rajotte <jonathan.rajotte-julien@efficios.com>
lava/kvm/generate_kvm_virsh.sh

index 9becc91f260667596581c462f705d87526fd61fa..3f16e73680059612d51f41f0f530d123d0c6775c 100755 (executable)
@@ -27,7 +27,9 @@ virt-install --print-xml \
        --cpu host \
        --serial pty \
        --graphics none \
+       --autostart \
        --check path_in_use=off > "$tmp"
 virsh define --validate "$tmp"
+virsh start "$1"
 rm -rf "$tmp"
 
This page took 0.023026 seconds and 4 git commands to generate.