mirror of
https://github.com/puppetlabs/beaker-vmpooler.git
synced 2026-01-26 11:08:40 -05:00
Merge 8af04e5aa7 into cba871a5af
This commit is contained in:
commit
3766cc2759
2 changed files with 29 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue