I have created new TeamCity Agent with some temporary name, which is stuck so whatever I do I cannot change it. The picture below illustrates what I'm talking about:
That AZSC-TCTEST-2 name I want to change and cannot. I want the name AZSC-TCBUILD-1 for instance.
On the agent machine I have edited buildAgent.properties file like the following, but it does not change the name I see in TeamCity.
Machine name where agent is running is also AZSC-TCBUILD-1.
Now this machine is actually VM running in Azure, but it should not be relevant because we don't use Cloud Agent plugin and don't have any Cloud Profiles configured. So we want to treat that machine as normal physical agent machine.
Some time in the past this machine WAS named AZSC-TCTEST-2, but it was renamed since then everywhere I could imagine, but for the life of me I cannot rename it in TeamCity.
I'm getting desperate! Please help!