chronos
chronos

Reputation: 355

Azure DevOps: build agent installed in custom image

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

Answers (1)

chronos
chronos

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

Related Questions