software.cfg 1.77 KB
Newer Older
1
[buildout]
2 3
extends =
  ../../stack/kvm.cfg
4

5 6 7
develop =
  ${:parts-directory}/websockify

Cédric de Saint Martin's avatar
Cédric de Saint Martin committed
8 9 10 11
parts =
  template
  kvm
  eggs
12 13
  check-local-eggs

14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
#XXX-Cedric : Currently, one can only access to KVM using noVNC.
#             Ideally one should be able to access KVM by using either NoVNC or VNC.
#             Problem is : no native crypto support in web browsers. So we have to disable ssl
#             In qemu builtin vnc server, and make it available only for localhost 
#             so that only novnc can listen to it.

#XXX-Cedric: Check status of https://github.com/kanaka/noVNC/issues/13 to see
#            When qemu has builtin support for websockets in vnc server to get rid of 
#            Websockify (socket <-> websocket proxy server) when it is ready.
#            May solve previous XXX depending on the implementation.

#XXX-Cedric: Check status of 
#            https://www.tiolive.com/nexedi/bug_module/20110819-11F4F70 for
#            Chrome >= 14 and Firefox >=7 can access to noVNC.

29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
[eggs]
dummy =
  ${websockify:location}
eggs +=
  websockify

[websockify]
recipe = plone.recipe.command
stop-on-error = true
location = ${buildout:parts-directory}/${:_buildout_section_name_}
command = ${git:location}/bin/git clone --quiet https://github.com/desaintmartin/websockify.git ${:location}
update-command = cd ${:location} && ${git:location}/bin/git pull --quiet

[check-local-eggs]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/websockify.egg-link
depends = ${eggs:dummy}

49 50 51
[template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
52
md5sum = 298b146e4efce41bfd58b3f85d064ff1
53 54
output = ${buildout:directory}/template.cfg
mode = 0644
Łukasz Nowak's avatar
Łukasz Nowak committed
55 56

[versions]
57
zc.buildout = 1.5.3-dev-SlapOS-010
Łukasz Nowak's avatar
Łukasz Nowak committed
58