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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Thomas Leymonerie
slapos
Commits
cdb642c7
Commit
cdb642c7
authored
Jul 31, 2013
by
Jondy Zhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
slapos-windows-installer: instance use bootloader.sh to install test node
parent
4247b258
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
8 deletions
+10
-8
software/slapos-windows-installer/instance.cfg.in
software/slapos-windows-installer/instance.cfg.in
+8
-4
software/slapos-windows-installer/software.cfg
software/slapos-windows-installer/software.cfg
+2
-4
No files found.
software/slapos-windows-installer/instance.cfg.in
View file @
cdb642c7
...
@@ -11,11 +11,15 @@ recipe = slapos.recipe.cmmi
...
@@ -11,11 +11,15 @@ recipe = slapos.recipe.cmmi
# This url is useless
# This url is useless
path = $${buildout:directory}
path = $${buildout:directory}
pre-configure =
pre-configure =
echo -e "#! /bin/bash\nmsiexec.exe /i `cygpath -w ${installer:location}/slapos-windows-all-in-one.exe` TARGETDIR=`cygpath -w $${buildout:directory}` /log `cygpath -w $${buildout:directory}/slapos-windows-installer.log` /quiet" > $${buildout:directory}/boot-installer
echo "#! /bin/bash" > $${:configure-command}
chmod +x $${buildout:directory}/boot-installer
echo "declare -r installer=${installer:location}/slapos-windows-all-in-one.exe" >> $${:configure-command}
configure-command = $${buildout:directory}/boot-installer
echo "declare -r targetdir=\$(cygpath -w $${buildout:directory})" >> $${:configure-command}
echo "declare -r logfile=\$(cygpath -w $${buildout:directory}/slapos-windows-installer.log" >> $${:configure-command}
echo "\$installer /DIR=\"\$targetdir\" /LOG=\"\$logfile\" /VERYSILENT" >> $${:configure-command}
chmod +x $${:configure-command}
configure-command = $${buildout:directory}/bootloader.sh
pre-install =
pre-install =
cp ${installer:cygroot}/slapos-windows-wrapper.bat $${buildout:directory}/
cp ${installer:cygroot}/slapos-windows-wrapper.bat $${buildout:directory}/
slapos-windows-wrapper.bat
cp ${installer:cygroot}/test-computer.key $${buildout:directory}/cygwin/computer.key
cp ${installer:cygroot}/test-computer.key $${buildout:directory}/cygwin/computer.key
cp ${installer:cygroot}/test-/computer.crt $${buildout:directory}/cygwin/computer.crt
cp ${installer:cygroot}/test-/computer.crt $${buildout:directory}/cygwin/computer.crt
cp ${installer:cygroot}/.slapos/key $${buildout:directory}/cygwin/key
cp ${installer:cygroot}/.slapos/key $${buildout:directory}/cygwin/key
...
...
software/slapos-windows-installer/software.cfg
View file @
cdb642c7
...
@@ -3,9 +3,6 @@ ignore-existing = true
...
@@ -3,9 +3,6 @@ ignore-existing = true
extends =
extends =
../../stack/slapos.cfg
../../stack/slapos.cfg
allow-hosts +=
dashingsoft.com
parts =
parts =
installer
installer
instance-template
instance-template
...
@@ -19,7 +16,7 @@ download-only = true
...
@@ -19,7 +16,7 @@ download-only = true
[slapos-build-installer]
[slapos-build-installer]
recipe = hexagonit.recipe.download
recipe = hexagonit.recipe.download
url = http://git.erp5.org/gitweb/slapos.package.git/blob_plain/heads/cygwin:/windows/scripts/slapos-build-installer
url = http://git.erp5.org/gitweb/slapos.package.git/blob_plain/heads/cygwin:/windows/scripts/slapos-build-installer
md5sum =
27ab50a3f76dfc8927247055495c48b8
md5sum =
4483d6df926c324d5905fef8f1175e43
download-only = true
download-only = true
[slapos-windows-wrapper]
[slapos-windows-wrapper]
...
@@ -63,6 +60,7 @@ post-install= ${:cygroot}/slapos-windows-wrapper.bat slapos-build-installer
...
@@ -63,6 +60,7 @@ post-install= ${:cygroot}/slapos-windows-wrapper.bat slapos-build-installer
[instance-template]
[instance-template]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance.cfg.in
url = ${:_profile_base_location_}/instance.cfg.in
md5sum = b0ed1bee8d8505fbbf5ef9d6ed5a1ba9
output = ${buildout:directory}/instance.cfg
output = ${buildout:directory}/instance.cfg
mode = 0644
mode = 0644
...
...
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