I have VMWare ESXi 6.5 installed. I have a few other VMs running successfully. I’ve installed RancherOS using the “Install to Disk” method (http://docs.rancher.com/os/running-rancheros/server/install-to-disk/). The guest has 4GB ram and a 30GB hard drive on /dev/sda.
I created a basic cloud-config.yml file:
#cloud-config hostname: r.cynexia.net ssh_authorized_keys: - ssh-rsa AAAA...y15Xh email@example.com
copied it to the VM and checked it was there (
cat cloud-config.yml). I then used the
sudo ros install -c cloud-config.yml -d /dev/sda command to install.
When it said the install was successful, and prompted me to reboot, I removed the virtual DVD, and rebooted. The guest boots to rancher from the hard drive, however, it doesn’t have the correct hostname, and I can’t SSH in using the key provided. Additionally, if i make other config changes (for example:
sudo ros config set rancher.network.dns.nameservers "['126.96.36.199','188.8.131.52']"
they do not persist a reboot. Any ideas?