Never push too early : correct array of arguments

parent 158b3590
...@@ -32,15 +32,15 @@ if not os.path.exists(disk_path): ...@@ -32,15 +32,15 @@ if not os.path.exists(disk_path):
subprocess.Popen(['%(qemu_img_path)s', 'create' ,'-f', 'qcow2', subprocess.Popen(['%(qemu_img_path)s', 'create' ,'-f', 'qcow2',
'%(disk_path)s', '%(disk_size)sG']) '%(disk_path)s', '%(disk_size)sG'])
kvm_argument_list = ['-net' 'nic,macaddr=%(mac_address)s', kvm_argument_list = ['-net', 'nic,macaddr=%(mac_address)s',
'-net' 'tap,ifname=%(tap_interface)s,script=no,downscript=no', '-net', 'tap,ifname=%(tap_interface)s,script=no,downscript=no',
'-smp' '%(smp_count)s', '-smp', '%(smp_count)s',
'-m' '%(ram_size)s', '-m', '%(ram_size)s',
'-drive' 'file=%(disk_path)s,if=virtio,boot=on', '-drive', 'file=%(disk_path)s,if=virtio,boot=on',
'-vnc' '%(vnc_ip)s:1,ipv4,password', '-vnc', '%(vnc_ip)s:1,ipv4,password',
'-boot' 'menu=on', '-boot', 'menu=on',
'-qmp' 'unix:%(socket_path)s,server', '-qmp', 'unix:%(socket_path)s,server',
'-pidfile' '%(pid_file_path)s', '-pidfile', '%(pid_file_path)s',
'-no-kvm'] '-no-kvm']
# Try to connect to NBD server # Try to connect to NBD server
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment