I am having some success with the knife-vsphere (0.2.3) plugin in windows. We have the Chef 0.10.12 Omnibus package for Windows installed and we then installed the knife-vsphere plugin. The plugin seems to work ok in windows after I did a little gem cleanup… My question is, is there a way to pass the vsphere_dc and vspere_host via the command line? I have tried setting windows environment variables as follows and it isn’t working.
We have many Data Centers on multiple Virtual Center servers.
We need to run knife-vsphere on a windows chef management console due to using VMware Orchestrator and PowerCLI as a wrapper around the “knife vsphere” command.