I am getting there with setting up my rancher envt. I have a cloud-config.yml with all the items I want in it for my hosts.
Two questions though please.
-
If i dont add a hostname, every host has the same same. Is that a issue?
-
Can I add this line to my cloud-cofig file (somehow), so I dont have to do it manually?
sudo docker run --rm --privileged -v /var/run/docker.sock:/var/run/docker.sock -v /var/lib/rancher:/var/lib/rancher rancher/agent:v1.2.6 http://rancher:8080/v1/scripts/FA643536EDF:148334545000:t3K454mVE
Or would I run into issue with version changes etc.
thanks