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

(cherry picked from commit a649de7)
  • Loading branch information
agrare authored and simaishi committed Oct 4, 2018
1 parent 19cd3af commit 82d3aa1
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 82d3aa1

Please sign in to comment.