Sorry, I replied to the wrong email thread :-(

On Fri, Jan 13, 2017 at 4:15 PM Carl Reid <carlandrewr...@gmail.com> wrote:

> It was me who opened the issue on GitHub and I have no problem with the
> renaming agents, the functionality works very well.
>
>
> On Friday, 13 January 2017 10:10:28 UTC, Ketan Padegaonkar wrote:
>
> The "agent name" currently maps directly to the "hostname" attribute in
> XML. This is something that can be updated via the API
> <https://api.gocd.io/current/#update-an-agent>.
>
> Additionally, during auto-registeration
> <https://docs.gocd.io/current/advanced_usage/agent_auto_register.html>,
> it's possible to setup a hostname of your choice by setting the
> autoregister property *agent.auto.register.hostname*.
>
> This property was specifically introduced to be able to identify multiple
> agents on the same machine. I believe you were the one who opened the
> ticket <https://github.com/gocd/gocd/issues/124> :)
>
> Are you suggesting that this behaviour is now broken?
>
> On Mon, Dec 8, 2014 at 8:18 PM Carl Reid <carland...@gmail.com> wrote:
>
> As I understand it, it is not possible to specify the name of a GO Agent
> when the agent is being installed.
> This is a shame as we have the agent install and auto-registration
> completely scripted including environments and resources however the agent
> name needs to have meaning rather than just the hostname. This is
> especially so when you have multiple agents per machine in which case they
> all get the same name.
>
> Currently we have to install the agent and then edit the xml
> configuration, changing the host name to something meaningful. This is a
> highly manual operation and is subject to the usual problems of time taken
> and the possibility of mistakes.
>
> I was wondering whether there is a another way or renaming the agent?
> Perhaps via the API? Looking through the documentation
> http://www.go.cd/documentation/user/current/api/agent_api.html it does
> not seem like this is possible.
>
> Anyone have any ideas for this problem?
>
> --
> 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 go-cd+un...@googlegroups.com.
>
>
> For more options, visit https://groups.google.com/d/optout.
>
> --
> 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 go-cd+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 go-cd+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to