number of instances are a parameter

parent 7064cb31
...@@ -91,7 +91,7 @@ ipv4 = $${slap-network-information:local-ipv4} ...@@ -91,7 +91,7 @@ ipv4 = $${slap-network-information:local-ipv4}
ipv6 = $${slap-network-information:global-ipv6} ipv6 = $${slap-network-information:global-ipv6}
proxy_port = 50000 proxy_port = 50000
runner_port = 50000 runner_port = 50000
partition-amount = 7 partition-amount = $${slap-parameter:instance-amount}
cloud9-url = $${cloud9:access-url} cloud9-url = $${cloud9:access-url}
wrapper = $${basedirectory:services}/slaprunner wrapper = $${basedirectory:services}/slaprunner
...@@ -200,3 +200,5 @@ port = $${dropbear-server:port} ...@@ -200,3 +200,5 @@ port = $${dropbear-server:port}
[slap-parameter] [slap-parameter]
# Default value if no ssh key is specified # Default value if no ssh key is specified
authorized-key = authorized-key =
# Default value of instances number in slaprunner
instance-amount = 10
\ No newline at end of file
...@@ -25,7 +25,7 @@ md5sum = 5307e4200f044ae57b504ad68444491c ...@@ -25,7 +25,7 @@ md5sum = 5307e4200f044ae57b504ad68444491c
recipe = slapos.recipe.template recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner.cfg url = ${:_profile_base_location_}/instance-runner.cfg
output = ${buildout:directory}/template-runner.cfg output = ${buildout:directory}/template-runner.cfg
md5sum = 2f19b2e799ea8cf66c67ac25e283ed48 md5sum = 737b0aea360d5166eee67e498e9d38ab
mode = 0644 mode = 0644
[eggs] [eggs]
......
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