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 firstname.lastname@example.org
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 "['220.127.116.11','18.104.22.168']"
they do not persist a reboot. Any ideas?