Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
slapos
Commits
1a1380d4
Commit
1a1380d4
authored
Feb 24, 2012
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Never push too early : correct array of arguments
parent
158b3590
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
slapos/recipe/kvm/template/kvm_run.in
slapos/recipe/kvm/template/kvm_run.in
+9
-9
No files found.
slapos/recipe/kvm/template/kvm_run.in
View file @
1a1380d4
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment