I am writing a plugin for some cloud provider and stuck with the following problem:
My TeamCity server starts an instance from the image with preinstalled agent on it. After an instance is running the server connects to an instance and edits the buildAgent.properties file (according to http://confluence.jetbrains.com/display/TW/Implementing+Cloud+support)
When I start an agent manualy it appears as a separate entity in an agent pool, not under cloud profile. There is a difference between mine
buildAgent.properties and the one local-cloud (http://confluence.jetbrains.com/display/TW/Local+Cloud) sample plugin generates. It has an extra teamcity.cloud.instance.hash and teamcity.cloud.agent.remove.policy properties presented.
Am I missing something in the agent configuration?
What are the requirements for an agent to be attached to the cloud instance in TeamCity?