plugins/providers/virtualbox/action/prepare_nfs_settings.rb in vagrantup-1.1.0 vs plugins/providers/virtualbox/action/prepare_nfs_settings.rb in vagrantup-1.1.1
- old
+ new
@@ -10,9 +10,11 @@
def call(env)
@app.call(env)
env[:nfs_host_ip] = read_host_ip(env[:machine])
env[:nfs_machine_ip] = read_machine_ip(env[:machine])
+
+ raise Errors::NFSNoHostonlyNetwork if !env[:nfs_machine_ip]
end
# Returns the IP address of the first host only network adapter
#
# @param [Machine] machine