Commit d3ed68a6 authored by Jondy Zhao's avatar Jondy Zhao

slapos-windows-installer: add ipv4-local-network paramter

parent f317e69b
......@@ -26,7 +26,11 @@ pre-install =
cp $cyghome/test-computer.key $${buildout:directory}/cygwin/computer.key
cp ${installer:cygroot}/slapos-windows-wrapper.bat $${buildout:directory}/slapos-windows-wrapper.bat
make-binary = true
# The parameter "slaptester" is the password of slapos administrator
# passed to configure script
post-install =
$${buildout:directory}/slapos-windows-wrapper.bat slapos-configure slaptester
$${buildout:directory}/slapos-windows-wrapper.bat /etc/slapos/scripts/slapos-configure.sh \
--password=slaptester \
--ipv4-local-network=10.89.208.0/24 \
--client-certificate=/certificate \
--client-key=/key \
--computer-certificate=/computer.crt \
--computer-key=/computer.key
......@@ -16,13 +16,13 @@ download-only = true
[slapos-build-installer]
recipe = hexagonit.recipe.download
url = http://git.erp5.org/gitweb/slapos.package.git/blob_plain/heads/cygwin:/windows/scripts/slapos-build-installer
md5sum = 4483d6df926c324d5905fef8f1175e43
md5sum = 7aafc3fcf21596c61a8e532bea3275ed
download-only = true
[slapos-windows-wrapper]
recipe = hexagonit.recipe.download
url = http://git.erp5.org/gitweb/slapos.package.git/blob_plain/heads/cygwin:/windows/scripts/slapos-windows-wrapper.bat
md5sum = 5ab0a8f6a1de35d8de5ad616aeca9fcd
md5sum = e7f1443dab3c0180a906534a1fe95ceb
download-only = true
[setup-cygwin]
......@@ -52,7 +52,7 @@ pre-configure=
chmod +x ${:cygroot}/*.bat
configure-command = ${:cygroot}/setup-cygwin.bat
make-binary = true
post-install= ${:cygroot}/slapos-windows-wrapper.bat slapos-build-installer
post-install= ${:cygroot}/slapos-windows-wrapper.bat /slapos-build-installer
#----------------
#-- Instance-level buildout profiles.
......@@ -60,7 +60,7 @@ post-install= ${:cygroot}/slapos-windows-wrapper.bat slapos-build-installer
[instance-template]
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg.in
md5sum = cc55040889f472f751f1aaa85e04e88f
md5sum = 8af79052227761407fae5c5a6cb5ec02
output = ${buildout:directory}/instance.cfg
mode = 0644
......
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