summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2013-05-24 17:02:04 +0000
committerRichard Dale <richard.dale@codethink.co.uk>2013-05-28 16:08:45 +0100
commit45c8f205456131b1c5ea055e12acc9cad8aba981 (patch)
treebae577f23391318666d62fee60ca32f450a4fa86
parent30657568182727b78636131ed90f3874c5d3e786 (diff)
downloadmorph-45c8f205456131b1c5ea055e12acc9cad8aba981.tar.gz
Fix kvm working without autostart
-rwxr-xr-xmorphlib/exts/kvm.write2
1 files changed, 1 insertions, 1 deletions
diff --git a/morphlib/exts/kvm.write b/morphlib/exts/kvm.write
index e2f7435c..ae287fe5 100755
--- a/morphlib/exts/kvm.write
+++ b/morphlib/exts/kvm.write
@@ -113,7 +113,7 @@ class KvmPlusSshWriteExtension(morphlib.writeexts.WriteExtension):
'--name', vm_name, '--vnc', '--ram=%s' % ram_mebibytes,
'--disk path=%s,bus=ide' % vm_path] + attach_opts
if not autostart:
- cmdline += '--noreboot'
+ cmdline += ['--noreboot']
cliapp.runcmd(cmdline)