Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add thumbprint_sha1 method to host_esx #328

Merged
merged 2 commits into from Oct 4, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,9 @@ def refresh_advanced_settings
def self.display_name(number = 1)
n_('Host (Vmware)', 'Hosts (Vmware)', number)
end

def thumbprint_sha1
require 'VMwareWebService/esx_thumb_print'
ESXThumbPrint.new(ipaddress, authentication_userid, authentication_password).to_sha1
Copy link
Member

@agrare agrare Oct 4, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably need to require VMwareWebService/esx_thumb_print right above this`

end
end