Skip to content

Commit

Permalink
Merge pull request #328 from fdupont-redhat/add_thumbprint_for_host_esx
Browse files Browse the repository at this point in the history
Add thumbprint_sha1 method to host_esx
  • Loading branch information
agrare committed Oct 4, 2018
2 parents ab9549d + 28737cf commit a649de7
Showing 1 changed file with 5 additions and 0 deletions.
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
end
end

0 comments on commit a649de7

Please sign in to comment.