- Install govc
go get github.com/vmware/govmomi/govcandgo install github.com/vmware/govmomi/govc export GOVC_URL='https://[USERNAME]:[PASSWORD]@[ESXI-OR-VCENTER-HOSTNAME-OR-IP]/sdk'andexport GOVC_INSECURE=1from govmomi (vSphere SDK for Go), govc CLI & Kubernetes on vSpheredocker-machine create vmdocker --driver vmwarevsphere --vmwarevsphere-datacenter ha-datacenter --vmwarevsphere-vcenter 192.168.2.12 --vmwarevsphere-username root --vmwarevsphere-password PASSWORD --vmwarevsphere-datastore 500G --vmwarevsphere-network "VM Network"- For RancherOS on VMware vSphere
docker-machine create MyRancherOSMachine -d vmwarevsphere --vmwarevsphere-boot2docker-url https://github.com/rancher/os/releases/download/v0.4.0/rancheros.iso --vmwarevsphere-datacenter ha-datacenter --vmwarevsphere-vcenter 192.168.2.12 --vmwarevsphere-username root --vmwarevsphere-password PASSWORD --vmwarevsphere-datastore 500G --vmwarevsphere-network "VM Network"
docker-machine create MyRancherOSMachine -d vmwarevsphere --vmwarevsphere-boot2docker-url file:///home/user/rancheros.iso --vmwarevsphere-datacenter ha-datacenter --vmwarevsphere-vcenter 192.168.2.12 --vmwarevsphere-username root --vmwarevsphere-password PASSWORD --vmwarevsphere-datastore 500G --vmwarevsphere-network "VM Network"
I'm still looking into this... the rancheros.iso boots but does not autoinstall.