lib/beaker/host/cisco.rb in beaker-4.6.0 vs lib/beaker/host/cisco.rb in beaker-4.7.0

- old
+ new

@@ -3,9 +3,22 @@ end module Cisco class Host < Unix::Host + # as the cisco hosts tend to have custom + # ssh configuration, the presets + # do not apply where verification of the + # host keys is disabled + def platform_defaults + h = Beaker::Options::OptionsHash.new + h.merge({ + 'ssh' => { + :verify_host_key => false, + }, + }) + end + # Tells you whether a host platform supports beaker's # {Beaker::HostPrebuiltSteps#set_env} method # # @return [String,nil] Reason message if set_env should be skipped, # nil if it should run.