Commit 370bd184 authored by Jérome Perrin's avatar Jérome Perrin

slaprunner: allow to configure the window title by using 'instance-name' parameter

parent 370556e6
......@@ -46,7 +46,7 @@ mode = 0644
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-runner.cfg
output = ${buildout:directory}/template-runner.cfg.in
md5sum = dbaa5e5838d15a7ec2754368870bc951
md5sum = bdd3eeda626b9a7dd6495f499980ce2f
mode = 0644
[template-runner-import-script]
......@@ -121,7 +121,7 @@ location = ${buildout:parts-directory}/${:_buildout_section_name_}
[template-slapos-cfg]
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/${:filename}
md5sum = c490563b831fc959a09b4b233263a6c6
md5sum = f406b91c5b0261b198a1c1930c195071
location = ${buildout:parts-directory}/${:_buildout_section_name_}
filename = slapos.cfg.in
download-only = true
......
......@@ -108,6 +108,10 @@
"description": "Number of clones to be deployed when a resilient runner, if missing a single clone is provided. Its value can be 1 or 2",
"type": "integer",
"enum": [1, 2]
}
},
"instance-name": {
"description": "Name of the instance, to show in the window title",
"type": "string"
},
}
}
......@@ -185,6 +185,7 @@ minishell_history_file = $${directory:etc}/.minishell_history
software_info_json = $${runnerdirectory:home}/software_info.json
instance_info_json = $${runnerdirectory:home}/instance_info.json
path = $${shell:path}
instance_name = $${slap-parameter:instance-name}
#---------------------------
......@@ -496,6 +497,7 @@ auto-deploy = false
auto-deploy-instance = true
autorun = false
monitor-port = 9684
instance-name =
[monitor-parameters]
port = $${slap-parameter:monitor-port}
......
......@@ -21,26 +21,31 @@ plone.recipe.command = 1.1
pycrypto = 2.6.1
slapos.recipe.download = 1.0.dev-r4053
slapos.recipe.template = 2.6
slapos.toolbox = 0.46.1
slapos.toolbox = 0.50
smmap = 0.9.0
z3c.recipe.scripts = 1.0.1
# Required by:
# slapos.toolbox==0.46.1
# slapos.toolbox==0.50
GitPython = 0.3.5
# Required by:
# slapos.toolbox==0.46.1
# slapos.toolbox==0.50
atomize = 0.2.0
# Required by:
# slapos.toolbox==0.46.1
# slapos.toolbox==0.50
feedparser = 5.1.3
# Required by:
# slapos.toolbox==0.46.1
# slapos.toolbox==0.50
lockfile = 0.10.2
# Required by:
# slapos.toolbox==0.45.3
# slapos.toolbox==0.50
paramiko = 1.15.2
# Required by:
# slapos.toolbox==0.50
rpdb = 0.1.5
......@@ -36,6 +36,7 @@ knowledge0_cfg = {{ slaprunner['knowledge0_file'] }}
minishell_cwd_file = {{ slaprunner['minishell_cwd_file'] }}
minishell_history_file = {{ slaprunner['minishell_history_file'] }}
path = {{ slaprunner['path'] }}
instance_name = {{ slaprunner['instance_name'] }}
[slapproxy]
host = {{ slaprunner['ipv4'] }}
......
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