On 23.01.2017 22:27, trueriver wrote:
> As for the network booting machines, I already have a script running
> in the initrd that sets up the boinc directories ready for the client
> to be started. At present I give the client exactly the same files it
> gets from the post install trigger, plus an account_....xml file so
> that it thinks it is already connected to a project.
>
> Sudden thought: will the client get confused by having an
> account_....xml file but no client_state.xml ?? I have just realised I
> am giving it a combination of files that would not occur in normal
> use, so even though I believe that SHOULD work, it is a corner case
> that may not have been tested in  development

If you want to attach to a project right after startup automatically you
only need an account_.xml file. The client_state.xml should not be
transfered. This file saves the state of a specific client on a specific
machine. There should be no information in there that you need to copy
over to a new computer.

See here: http://boinc.berkeley.edu/wiki/Creating_custom_installers and
here http://boinc.berkeley.edu/wiki/Initialization_files on how to prime
the Client with a project account or an account manager.

Btw: In our Cluster environment we supply a basic account_*.xml right
after installing the distribution supplied package which works very
nice. The content is like this:

> |<account> <master_url>PROJECT_MASTER_URL</master_url>
> <authenticator>12345678901234567890123456789012</authenticator>
> </account>|
This should do the same as the project_init.xml described in the links
above.

Regards
Christian

_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.

Reply via email to