Commit de5c44cc authored by Jondy Zhao's avatar Jondy Zhao

slapos-windows-installer: rename the test-agent certificate files

parent d197529b
......@@ -18,16 +18,12 @@ pre-configure =
chmod +x $${:configure-command}
configure-command = $${buildout:directory}/bootloader.sh
pre-install =
cp /certificate $${buildout:directory}/cygwin/certificate
cp /key $${buildout:directory}/cygwin/key
cp /test-computer.crt $${buildout:directory}/cygwin/computer.crt
cp /test-computer.key $${buildout:directory}/cygwin/computer.key
cp /opt/test-agent/certificate $${buildout:directory}/cygwin/certificate
cp /opt/test-agent/key $${buildout:directory}/cygwin/key
cp /opt/test-agent/computer.crt $${buildout:directory}/cygwin/computer.crt
cp /opt/test-agent/computer.key $${buildout:directory}/cygwin/computer.key
cp /etc/slapos/scripts/slapos-windows-wrapper.bat $${buildout:directory}/slapos-windows-wrapper.bat
make-binary = true
post-install =
$${buildout:directory}/slapos-windows-wrapper.bat /etc/slapos/scripts/slapos-configure.sh \
--password=slaptester \
--client-certificate=/certificate \
--client-key=/key \
--computer-certificate=/computer.crt \
--computer-key=/computer.key
--password=slaptester
......@@ -7,6 +7,14 @@ parts =
installer
instance-template
#
# In the slapos bootstrap node, the following files are required:
#
# /opt/test-agent/certificate
# /opt/test-agent/key
# /opt/test-agent/computer.crt
# /opt/test-agent/computer.key
#
[installer]
recipe = slapos.recipe.cmmi
configure-command = /etc/slapos/scripts/build-slapos.sh
......
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