NFS properly detects hostonly network for VirtualBox

This commit is contained in:
Mitchell Hashimoto 2013-01-30 10:43:53 -08:00
parent 7eec127704
commit d26aea142e
1 changed files with 1 additions and 1 deletions

View File

@ -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