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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
isaak yansane-sisk
slapos
Commits
27428aaa
Commit
27428aaa
authored
Jul 13, 2011
by
Vivien Alger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added execute_wait for websockify proxy
parent
91ad35a0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
slapos/recipe/kvm/__init__.py
slapos/recipe/kvm/__init__.py
+6
-2
No files found.
slapos/recipe/kvm/__init__.py
View file @
27428aaa
...
...
@@ -173,8 +173,12 @@ class Recipe(BaseSlapRecipe):
noVNC_conf
[
'certificate_path'
]
=
self
.
certificate_path
# Instanciate Websockify
websockify_runner_path
=
self
.
instanciate_wrapper
(
"websockify"
,
noVNC_conf
)
websockify_runner_path
=
zc
.
buildout
.
easy_install
.
scripts
([(
'stunnel'
,
'slapos.recipe.librecipe.execute'
,
'execute_wait'
)],
self
.
ws
,
sys
.
executable
,
self
.
wrapper_directory
,
arguments
=
[
[
noVNC_conf
[
'python_path'
].
strip
(),
'self.options['
websockify_path
']'
,
'--web'
,
'self.options['
noVNC_location
']'
,
'--key=%s'
%
(
noVNC_conf
[
'key_path'
]),
'--cert=%r'
%
(
noVNC_conf
[
'certificate_path'
]),
'--ssl-only'
,
noVNC_conf
[
'source_ip'
]:
noVNC_conf
[
'source_port'
],
noVNC_conf
[
'target_ip'
]:
noVNC_conf
[
'target_port'
]],
[
self
.
certificate_path
,
self
.
key_path
]]
)[
0
]
self
.
path_list
.
append
(
websockify_runner_path
)
return
noVNC_conf
...
...
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