lib/vagrant-hosts/addresses.rb in vagrant-hosts-2.7.1 vs lib/vagrant-hosts/addresses.rb in vagrant-hosts-2.8.0
- old
+ new
@@ -160,9 +160,11 @@
if (info = machine.ssh_info)
info[:host]
else
[]
end
+ when '@facter_ipaddress'
+ machine.guest.capability(:network_facts)['networking']['ip']
else
address
end
if address.start_with?('@')