add local develop for boinc client (bis)
[slapos.git] / software / boinc-client / instance-boinc.cfg
1 [buildout]
2 parts =
3   boinc-client
4   publish-connection-informations
5
6 eggs-directory = ${buildout:eggs-directory}
7 develop-eggs-directory = ${buildout:develop-eggs-directory}
8 offline = true
9
10 [rootdirectory]
11 recipe = slapos.cookbook:mkdirectory
12 etc = $${buildout:directory}/etc/
13 var = $${buildout:directory}/var/
14 srv = $${buildout:directory}/srv/
15 bin = $${buildout:directory}/bin/
16 tmp = $${buildout:directory}/tmp/
17
18 [basedirectory]
19 recipe = slapos.cookbook:mkdirectory
20 log = $${rootdirectory:var}/log/
21 services = $${rootdirectory:etc}/run/
22 run = $${rootdirectory:var}/run/
23 backup = $${rootdirectory:srv}/backup/
24 promises = $${rootdirectory:etc}/promise/
25 boinc = $${rootdirectory:srv}/boinc/
26
27 [boinc-passwd]
28 recipe = slapos.cookbook:generate.password
29 storage-path = $${basedirectory:boinc}/gui_rpc_auth.cfg
30 bytes = 8
31
32 [boinc-client]
33 recipe = slapos.cookbook:boinc.client
34 install-dir = $${basedirectory:boinc}
35 client-wrapper = $${basedirectory:services}/boinc_client
36 cmd-wrapper = $${basedirectory:services}/boinc_cmd
37 #specifie a cc_config.xml file to boinc client, use cconfig
38 ip = $${slap-network-information:global-ipv6}
39 passwd = $${boinc-passwd:passwd}
40 cconfig =
41 boinc-bin = ${boinc:location}/bin/boinc_client
42 cmd-bin = ${boinc:location}/bin/boinccmd
43 server-url = $${slap-parameter:project_url}
44 key = $${slap-parameter:key}
45
46 # Publish all instance parameters
47 [publish-connection-informations]
48 recipe = slapos.cookbook:publish
49 project-url = $${slap-parameter:project_url}
50 account-key = $${slap-parameter:key}
51 remote-host = $${boinc-client:ip}
52 rpc-port = $${boinc-client:rpc-port}
53 rpc-passwd = $${boinc-passwd:passwd}
54
55 [slap-parameter]
56 #please provide project_url and your session key via SlapOS Master (instance parameters)
57 project_url = 
58 key =