Skip to content

Instantly share code, notes, and snippets.

@shlomizadok
Created August 26, 2015 08:34
Show Gist options
  • Save shlomizadok/188696ba9d2dcb097834 to your computer and use it in GitHub Desktop.
Save shlomizadok/188696ba9d2dcb097834 to your computer and use it in GitHub Desktop.
connect to vmware from foreman console
foreman-rake console
f = Fog::Compute.new(:provider => "vsphere", :vsphere_username => "YOUR_USERNAME", :vsphere_password=> "YOUR_PASSWORD", :vsphere_server => "SERVER_IP", :vsphere_expected_pubkey_hash => "HASH_KEY_FROM_FOREMAN_e50d75d6039b177eb5ec59f79d147c")
f.datacenters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment