Reputation: 355
We need to set up a scale set for build agents in Azure, and we are facing the following situation: after creating the custom image of the VM in which we have installed the build agent, the agentId needs to be updated. We have checked the parameters for Agent.Listener.exe, but nowhere is to be found a parameter like "re-register" or so.
Any ideas?
Upvotes: 0
Views: 458
Reputation: 355
The solution was to wait a bit. Seems that our problem was not specific as it could seem and Microsoft was already working on a possible solution "Azure Virtual Machine Scale Set Agents". The image used by the scale set does not contain the agent, and it gets installed when a new VM on the scale set gets instantiated.
Upvotes: 1