In my dev environment, I would quite like to vagrant up my entire stack - one that has the the rancher server running on the same host as the docker host. The only issue being each time I vagrant up the stack, the rancher server is assigned a random registration ID / URL. Is there any way that you could query the server for this value and export it out for consumption by a script in the rancher agent, or a way that you could fix this value from the outset with an environment variable?
Im guessing its a bit obscure and has no real requirements in the real world. A pointer to a hack would be nice though!