Thanks, yes I have mounted persistant storage at /godata The file appears to be called cruise-config.xm is that expected?
/godata/config $ ls -al total 84 drwxr-xr-x 2 go root 4096 Oct 12 03:48 . drwxr-xr-x 10 go root 4096 Oct 14 04:50 .. -rw-r--r-- 1 go root 32 Oct 12 03:48 cipher.aes -rw-r--r-- 1 go root 502 Oct 14 20:58 cruise-config.xml -rw-r--r-- 1 go root 47442 Oct 14 20:57 cruise-config.xsd -rw-r--r-- 1 go root 165 Oct 12 03:41 db.properties -rw-r--r-- 1 go root 799 Oct 12 03:48 go_update_server.pub -rw-r--r-- 1 go root 4305 Oct 12 03:48 jetty.xml -rw-r--r-- 1 go root 1032 Oct 12 03:48 logback-include.xml On Friday, October 14, 2022 at 4:22:16 PM UTC+11 Chad Wilson wrote: > Hi Ross > > The auto-registration key it refers to is automatically generated when > your server first starts (if not present). It's persisted to the server > config, stored at different locations depending on your installation type. > For a container it's at https://hub.docker.com/r/gocd/gocd-server "Under > the Hood", i.e */godata/config/config.xml *(generally for a container you > will be mounting a volume to /godata so it is persisted) > > When auto-generated by the server on start-up it's a UUIDv4 (generated > from a secure random number generator, represented as a string), but > doesn't have to be - and is treated as a string everywhere I believe, so > you can edit it yourself to something else if you would prefer something > even more secure/random. > > -Chad > > > On Fri, Oct 14, 2022 at 1:09 PM Ross G <[email protected]> wrote: > >> Hi, can you please clarify what this step in the documentation means? >> https://docs.gocd.org/22.2.0/advanced_usage/agent_auto_register.html >> >> *Add an attribute named “agentAutoRegisterKey”, for e.g., >> agentAutoRegisterKey=“388b633a88de126531afa41eff9aa69e”, in the server >> configuration fragment, in case it is not present* >> >> >> - What file is that and where do I find that in a server container? >> - Should I be randomly generating this key? if so, what is the >> definition of the key length and allowed characters? >> >> Thanks, >> >> -- >> You received this message because you are subscribed to the Google Groups >> "go-cd" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/go-cd/f2b159da-300d-4a2f-be30-21cdf385d585n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/go-cd/f2b159da-300d-4a2f-be30-21cdf385d585n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- You received this message because you are subscribed to the Google Groups "go-cd" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/go-cd/3c8bca06-fd3e-418b-b860-ce5714cc5054n%40googlegroups.com.
