Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
moodle_rebase10.1.2
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
Dmitry Blinov
moodle_rebase10.1.2
Commits
36e23d39
Commit
36e23d39
authored
Jul 01, 2011
by
Vivien Alger
Browse files
Options
Browse Files
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):
...
@@ -104,10 +104,10 @@ class Recipe(BaseSlapRecipe):
return
[
kvm_runner_path
,
kvm_controller_runner_path
,
websockify_runner_path
]
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
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
Parameters : name of what you are instanciating, list of arguments for the configuration dictionnary of the wrapper
Returns : path to the running wrapper
Returns : path to the running wrapper
...
@@ -116,7 +116,7 @@ class Recipe(BaseSlapRecipe):
...
@@ -116,7 +116,7 @@ class Recipe(BaseSlapRecipe):
name_config
.
update
(
self
.
options
)
name_config
.
update
(
self
.
options
)
for
e
in
list
:
for
e
in
list
:
name_config
[
'i'
]
=
i
name_config
[
'i'
]
=
i
name_wrapper_template_location
=
pkg_resources
.
resource_filename
(
name_wrapper_template_location
=
pkg_resources
.
resource_filename
(
__name__
,
os
.
path
.
join
(
__name__
,
os
.
path
.
join
(
...
...
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