NFS properly detects hostonly network for VirtualBox
This commit is contained in:
parent
7eec127704
commit
d26aea142e
|
@ -156,7 +156,7 @@ module VagrantPlugins
|
||||||
# @return [String]
|
# @return [String]
|
||||||
def guest_ip
|
def guest_ip
|
||||||
@env[:machine].config.vm.networks.each do |type, args|
|
@env[:machine].config.vm.networks.each do |type, args|
|
||||||
if type == :hostonly && args[0].is_a?(String)
|
if type == :private_network && args[0].is_a?(String)
|
||||||
return args[0]
|
return args[0]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue