I want to use RancherOS for a decently large scale test deployment. For this to not be a very large pain, it would need to be automated. So this is the rundown of what needs to happen:
RancherOS gets installed to disk
It gets a random hostname
It is added to the main Rancher cluster
What would be the best way to do this?
I have tried using an imaging server, but the hostname ends up being the same for all of the instances, and because of that, it can’t connect to the cluster.
If someone could help me out putting together a cloud-config or something else which will help me achieve this, that would be great.
Thanks in advance.