Commit 54d1e970 authored by Vivien Alger's avatar Vivien Alger

Finished refactoring of recipe

parent 44381f60
...@@ -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(wrapper_template_location, self.substituteTemplate(kvm_controller_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(),
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment