summaryrefslogtreecommitdiff
path: root/morphlib/exts/kvm.write
diff options
context:
space:
mode:
authorJonathan Maw <jonathan.maw@codethink.co.uk>2013-05-24 17:02:04 +0000
committerJonathan Maw <jonathan.maw@codethink.co.uk>2013-05-24 17:02:04 +0000
commitde1b8ab605f5205035514d152f95a25f12a4437e (patch)
tree06b3a0843509c69f8194016865fce08fa549a975 /morphlib/exts/kvm.write
parentbea6d26ac66672352bca49a8454fe80e95e75091 (diff)
downloadmorph-de1b8ab605f5205035514d152f95a25f12a4437e.tar.gz
Fix kvm working without autostart
Diffstat (limited to 'morphlib/exts/kvm.write')
-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)