mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
don't barf if VM has multiple identical IP addresses
This commit is contained in:
parent
0c79eaf6d5
commit
2fc38f6067
@ -66,6 +66,7 @@ module VagrantPlugins
|
||||
end
|
||||
|
||||
ips = result.chomp.split("\n")
|
||||
ips = ips.uniq
|
||||
@logger.info("guest IPs: #{ips.join(', ')}")
|
||||
ips.each do |ip|
|
||||
next if ip == ssh_host
|
||||
|
Loading…
Reference in New Issue
Block a user