Deploy RancherOS on VMware ESXi VM


Hi all,
I’m deploying RancherOS on VMs in my VMware vCenter environment with - which was recommended to me via a Rancher Employee on Slack. However, I’ve built 6 nodes with 1 actually being successful in functioning properly (aka it boots without errors and installs VMware tools) however, the other 5 nodes that I’ve setup all present me with this error:

And it appears that VMware tools never gets installed. I can SSH into the host, ping and lookup domains and even resolve and I’ve added exceptions on my firewalls to whitelist and docker and rancher domains. Anyone else seeing this issue? Is RancherOS the right choice? I’m open to using something like Ubuntu but seems slightly bloated but maybe better supported? Thoughts?


We recommend using rancheros-vmware.iso on vmware hypersior which built-in open-vm-tools.


I was using that, but the install would error out when using the following command:

sudo ros install -c cloud-config.yml -d /dev/sda

It would fail to install the OS and put it in a read only state. Had to reboot the VM in order to do anything.


By default rancheros-vmware.iso has already been auto-format. If you want use noformat iso you can build from master using the command VMWARE_AUTOFORMAT=0 make vmware


Hmm Ok. I’ll give it a shot and let you know.


Ok I’m not sure I follow. I’ve created a new VM and booted up. But if I shutdown, remove the iso from the VM, it doesn’t ‘install’.


When trying to run the sudo ros install -d /dev/sda command I get the following error.


So is the point to not install rancheros-vmware.iso to disk, but simply run it from the iso with persistent data being written to the drive? I found this: which seems to indicate this is the case?


Sorry my mistake. rancheros-vmware.iso is autoformat if you want install to disk, you need to use VMWARE_AUTOFORMAT=0 make vmware


yeah we saw that and had no clue so used the generic ISO. I think I got this advice from support. Seemed to work out fine, ignoring the other traps and pitfalls.