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
Valentin Benozillo
slapos
Commits
e76f29e8
Commit
e76f29e8
authored
Jul 13, 2011
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix nbdserver software.
It is now compatible with slapos.cookbook.
parent
dd7aa50c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
125 additions
and
20 deletions
+125
-20
software/nbd/instance.cfg
software/nbd/instance.cfg
+1
-1
software/nbd/software.cfg
software/nbd/software.cfg
+3
-1
stack/nbd.cfg
stack/nbd.cfg
+121
-18
No files found.
software/nbd/instance.cfg
View file @
e76f29e8
...
@@ -6,6 +6,6 @@ eggs-directory = ${buildout:eggs-directory}
...
@@ -6,6 +6,6 @@ eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
[nbdserverinstance]
[nbdserverinstance]
recipe =
slapos.recipe.nbdserver
recipe =
${instance-recipe:egg}:${instance-recipe:module}
qemu_path = ${nbdserver:location}/bin/qemu-nbd
qemu_path = ${nbdserver:location}/bin/qemu-nbd
onetimeupload_path = ${buildout:bin-directory}/onetimeupload
onetimeupload_path = ${buildout:bin-directory}/onetimeupload
software/nbd/software.cfg
View file @
e76f29e8
[buildout]
[buildout]
extends =
extends =
../../stack/nbd.cfg
../../stack/nbd.cfg
../../stack/shacache-client.cfg
parts +=
parts +=
template
template
...
@@ -8,6 +10,6 @@ parts +=
...
@@ -8,6 +10,6 @@ parts +=
[template]
[template]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg
url = ${:_profile_base_location_}/instance.cfg
md5sum =
2b6f720f0c648bb7539aa0ac1b438471
md5sum =
82e948e1c0cb0d5540ef185edeef3ec3
output = ${buildout:directory}/template.cfg
output = ${buildout:directory}/template.cfg
mode = 0644
mode = 0644
stack/nbd.cfg
View file @
e76f29e8
...
@@ -2,12 +2,14 @@
...
@@ -2,12 +2,14 @@
extends =
extends =
../component/python-2.6/buildout.cfg
../component/python-2.6/buildout.cfg
../component/lxml-python/buildout.cfg
../component/lxml-python/buildout.cfg
../component/zlib/buildout.cfg
../component/git/buildout.cfg
../component/git/buildout.cfg
# Python2.6 needed by Flask and pyopenssl
extensions =
extensions =
slapos.
tool.
rebootstrap
slapos.rebootstrap
parts =
parts
+
=
nbdserver
nbdserver
pyOpenSSL-python
pyOpenSSL-python
eggs
eggs
...
@@ -17,9 +19,22 @@ find-links +=
...
@@ -17,9 +19,22 @@ find-links +=
versions = versions
versions = versions
# Use only quite well working sites.
allow-hosts =
*.nexedi.org
*.python.org
*.sourceforge.net
dist.repoze.org
effbot.org
github.com
peak.telecommunity.com
psutil.googlecode.com
www.dabeaz.com
[rebootstrap]
[rebootstrap]
section = python2.6
section = python2.6
version = 1
version = 3
eggs = slapos.libnetworkcache
[nbdserver]
[nbdserver]
recipe = hexagonit.recipe.cmmi
recipe = hexagonit.recipe.cmmi
...
@@ -33,36 +48,124 @@ configure-options =
...
@@ -33,36 +48,124 @@ configure-options =
[nbdserversource]
[nbdserversource]
recipe=plone.recipe.command
recipe=plone.recipe.command
location = ${buildout:parts-directory}/${:_buildout_section_name_}
location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
stop-on-error = true
tag = slapos-v0.1
command =
command =
(${git:location}/bin/git clone --quiet --branch ipv6 git://gitorious.org/slapos/slapos-kvm.git ${:location} &&
(${git:location}/bin/git clone --quiet http://git.erp5.org/repos/slapos.kvm.git ${:location} ) || (rm -fr ${:location} ; exit 1)
cd ${:location} && ${git:location}/bin/git pull --quiet origin tag ${:tag}) || (rm -fr ${:location} ; exit 1)
update-command =
update-command =
cd ${:location} && ${git:location}/bin/git pull --quiet origin tag ${:tag}
cd ${:location} && ${git:location}/bin/git pull --quiet origin master
[instance-recipe]
egg = slapos.cookbook
module = nbdserver
[eggs]
[eggs]
recipe = zc.recipe.egg
recipe = zc.recipe.egg
eggs =
eggs =
${lxml-python:egg}
slapos.toolbox
slapos.recipe.nbdserver
slapos.cookbook
slapos.tool.onetimeupload
pyOpenSSL
pyOpenSSL
[pyOpenSSL-python]
[pyOpenSSL-python]
recipe = zc.recipe.egg:custom
recipe = zc.recipe.egg:custom
egg = pyOpenSSL
egg = pyOpenSSL
include-dirs =
include-dirs =
${openssl:location}/include/
${openssl:location}/include/
${python2.6:location}/include/
${python2.6:location}/include/
library-dirs =
library-dirs =
${openssl:location}/lib/
${openssl:location}/lib/
${python2.6:location}/lib/
${python2.6:location}/lib/
rpath =
rpath =
${openssl:location}/lib/
${openssl:location}/lib/
${python2.6:location}/lib/
${python2.6:location}/lib/
[versions]
[versions]
zc.buildout = 1.5.3-dev-SlapOS-001
# Use SlapOS patched zc.buildout
zc.buildout = 1.5.3-dev-SlapOS-005
Jinja2 = 2.5.5
Werkzeug = 0.6.2
apache-libcloud = 0.5.2
hexagonit.recipe.cmmi = 1.5.0
meld3 = 0.6.7
plone.recipe.command = 1.1
pyOpenSSL = 0.12
pycrypto = 2.3
slapos.cookbook = 0.14
slapos.recipe.template = 1.1
slapos.toolbox = 0.6
# Required by:
# slapos.core==0.9
# slapos.toolbox==0.6
Flask = 0.7.2
# Required by:
# slapos.cookbook==0.14
PyXML = 0.8.4
# Required by:
# slapos.core==0.9
argparse = 1.1
# Required by:
# slapos.recipe.template==1.1
collective.recipe.template = 1.8
# Required by:
# hexagonit.recipe.cmmi==1.5.0
hexagonit.recipe.download = 1.5.0
# Required by:
# slapos.cookbook==0.14
# slapos.core==0.9
# slapos.toolbox==0.6
# xml-marshaller==0.9.7
lxml = 2.3
# Required by:
# slapos.cookbook==0.14
netaddr = 0.7.5
# Required by:
# slapos.core==0.9
netifaces = 0.4
# Required by:
# slapos.toolbox==0.6
paramiko = 1.7.7.1
# Required by:
# slapos.toolbox==0.6
psutil = 0.3.0
# Required by:
# slapos.cookbook==0.14
# slapos.core==0.9
# slapos.toolbox==0.6
# zc.buildout==1.5.3-dev-SlapOS-005
# zc.recipe.egg==1.3.2
setuptools = 0.6c12dev-r88846
# Required by:
# slapos.cookbook==0.14
# slapos.toolbox==0.6
slapos.core = 0.9
# Required by:
# slapos.core==0.9
supervisor = 3.0a10
# Required by:
# slapos.cookbook==0.14
# slapos.toolbox==0.6
xml-marshaller = 0.9.7
# Required by:
# slapos.cookbook==0.14
zc.recipe.egg = 1.3.2
# Required by:
# slapos.core==0.9
zope.interface = 3.6.4
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