Created
August 26, 2015 08:34
-
-
Save shlomizadok/188696ba9d2dcb097834 to your computer and use it in GitHub Desktop.
connect to vmware from foreman console
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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