Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Sebastien Robin
slapos
Commits
36e23d39
Commit
36e23d39
authored
13 years ago
by
Vivien Alger
Browse files
Options
Download
Email Patches
Plain Diff
Formating kvm recipe
parent
db73d21a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
slapos/recipe/kvm/__init__.py
slapos/recipe/kvm/__init__.py
+3
-3
No files found.
slapos/recipe/kvm/__init__.py
View file @
36e23d39
...
...
@@ -104,10 +104,10 @@ class Recipe(BaseSlapRecipe):
return
[
kvm_runner_path
,
kvm_controller_runner_path
,
websockify_runner_path
]
def
instanciate
(
self
,
name
,
list
):
def
instanciate
(
self
,
name
,
list
):
"""
Define the path to the wrapper of the thing you are instanciating
Parameters : name of what you are instanciating, list of arguments for the configuration dictionnary of the wrapper
Returns : path to the running wrapper
...
...
@@ -116,7 +116,7 @@ class Recipe(BaseSlapRecipe):
name_config
.
update
(
self
.
options
)
for
e
in
list
:
name_config
[
'i'
]
=
i
name_config
[
'i'
]
=
i
name_wrapper_template_location
=
pkg_resources
.
resource_filename
(
__name__
,
os
.
path
.
join
(
...
...
This diff is collapsed.
Click to expand it.
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