NFS properly detects hostonly network for VirtualBox
This commit is contained in:
parent
7eec127704
commit
d26aea142e
@ -156,7 +156,7 @@ module VagrantPlugins
|
||||
# @return [String]
|
||||
def guest_ip
|
||||
@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]
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user