This commit is contained in:
Simon 2017-08-01 16:56:44 +00:00 committed by GitHub
commit 3766cc2759
2 changed files with 29 additions and 0 deletions

View file

@ -247,6 +247,10 @@ module Beaker
@logger.debug "No disks to add for #{hostname}"
end
end
# Override SSH connection method if not already explicitly configured.
# IP addresses can change across reboots with vmpooler so prefer DNS based resolution
@hosts.each {|h| h[:connection_method] ||= 'vmhostname'}
end
def cleanup