Vsphere post Install Script

Hi all,

I couldn’t find this configuration option, maybe I overlooked something. I’m adding a vsphere host through the vmware driver and wanting to find out if there’s a way I can run a script to perform some post processing after the host has been added?

The docker-machine vsphere driver does not appear to have any option for cloud-init or similar. You could download the machine config and use the SSH key it contains to run arbitrary commands, or create a global-scale service in Rancher that runs it once (maybe only for hosts with a certain label).