Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
slapos
Commits
0f1edbf2
Commit
0f1edbf2
authored
Jul 31, 2015
by
Kristopher Ruzic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix typo that has been plaguing me Forgetting to do so can lead to a lot of headaches
parent
b0341224
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
slapos/recipe/kvm/template/kvm_run.in
slapos/recipe/kvm/template/kvm_run.in
+5
-2
No files found.
slapos/recipe/kvm/template/kvm_run.in
View file @
0f1edbf2
...
@@ -2,6 +2,9 @@
...
@@ -2,6 +2,9 @@
# BEWARE: This file is operated by slapgrid
# BEWARE: This file is operated by slapgrid
# BEWARE: It will be overwritten automatically
# BEWARE: It will be overwritten automatically
import ast
import ast
import hashlib
import hashlib
import os
import os
...
@@ -15,7 +18,7 @@ import glob
...
@@ -15,7 +18,7 @@ import glob
import re
import re
if
'%{is-packer}s'
:
if
ast.literal_eval('%(is-packer)s')
:
packer_dict = {}
packer_dict = {}
packer_dict["disk_size"] = '%(disk-size)s'
packer_dict["disk_size"] = '%(disk-size)s'
...
@@ -328,7 +331,7 @@ else:
...
@@ -328,7 +331,7 @@ else:
# if the software release type was defined as packer
# if the software release type was defined as packer
# we need to do a bit more work
# we need to do a bit more work
if '%
{is-packer}
s':
if '%
(is-packer)
s':
packer_dict["qemuargs"] = filter(None, widen(kvm_argument_list))
packer_dict["qemuargs"] = filter(None, widen(kvm_argument_list))
print 'Generating Packer json with qemu args: '
print 'Generating Packer json with qemu args: '
...
...
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