From c45d3ee728b973c31ad8efa224762ae11678cfd2 Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Mon, 18 Mar 2013 14:30:26 +0100 Subject: [PATCH] Fix wrong reference to Errors::NFSNoHostonlyNetwork introduced in 022c1da [GH-1437]. --- plugins/providers/virtualbox/action/prepare_nfs_settings.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/providers/virtualbox/action/prepare_nfs_settings.rb b/plugins/providers/virtualbox/action/prepare_nfs_settings.rb index 8af4d3586..baf1213fe 100644 --- a/plugins/providers/virtualbox/action/prepare_nfs_settings.rb +++ b/plugins/providers/virtualbox/action/prepare_nfs_settings.rb @@ -13,7 +13,7 @@ module VagrantPlugins 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] + raise Vagrant::Errors::NFSNoHostonlyNetwork if !env[:nfs_machine_ip] end # Returns the IP address of the first host only network adapter