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
54d1e970
Commit
54d1e970
authored
Jul 13, 2011
by
Vivien Alger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Finished refactoring of recipe
parent
44381f60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
slapos/recipe/kvm/__init__.py
slapos/recipe/kvm/__init__.py
+5
-5
No files found.
slapos/recipe/kvm/__init__.py
View file @
54d1e970
...
@@ -141,8 +141,8 @@ class Recipe(BaseSlapRecipe):
...
@@ -141,8 +141,8 @@ class Recipe(BaseSlapRecipe):
'template'
,
'kvm_run.in'
))
'template'
,
'kvm_run.in'
))
kvm_runner_path
=
self
.
createRunningWrapper
(
"kvm"
,
kvm_runner_path
=
self
.
createRunningWrapper
(
"kvm"
,
self
.
substituteTemplate
(
wrapper
_template_location
,
self
.
substituteTemplate
(
kvm
_template_location
,
config_dictionnary
))
kvm_conf
))
self
.
path_list
.
append
(
kvm_runner_path
)
self
.
path_list
.
append
(
kvm_runner_path
)
...
@@ -153,8 +153,8 @@ class Recipe(BaseSlapRecipe):
...
@@ -153,8 +153,8 @@ class Recipe(BaseSlapRecipe):
'kvm_controller_run.in'
))
'kvm_controller_run.in'
))
kvm_controller_runner_path
=
self
.
createRunningWrapper
(
"kvm_controller"
,
kvm_controller_runner_path
=
self
.
createRunningWrapper
(
"kvm_controller"
,
self
.
substituteTemplate
(
wrapp
er_template_location
,
self
.
substituteTemplate
(
kvm_controll
er_template_location
,
config_dictionnary
))
kvm_conf
))
self
.
path_list
.
append
(
kvm_controller_runner_path
)
self
.
path_list
.
append
(
kvm_controller_runner_path
)
...
@@ -185,7 +185,7 @@ class Recipe(BaseSlapRecipe):
...
@@ -185,7 +185,7 @@ class Recipe(BaseSlapRecipe):
noVNC_conf
[
'source_port'
]
=
source_port
noVNC_conf
[
'source_port'
]
=
source_port
# Instanciate Websockify
# Instanciate Websockify
websockify_runner_path
=
zc
.
buildout
.
easy_install
.
scripts
([(
'
stunnel
'
,
websockify_runner_path
=
zc
.
buildout
.
easy_install
.
scripts
([(
'
websockify
'
,
'slapos.recipe.librecipe.execute'
,
'execute_wait'
)],
self
.
ws
,
'slapos.recipe.librecipe.execute'
,
'execute_wait'
)],
self
.
ws
,
sys
.
executable
,
self
.
wrapper_directory
,
arguments
=
[
sys
.
executable
,
self
.
wrapper_directory
,
arguments
=
[
[
python_path
.
strip
(),
[
python_path
.
strip
(),
...
...
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