From cd6f24b2d9817f3d317c80d67696bbaadeb7f6f4 Mon Sep 17 00:00:00 2001 From: Oscar Renalias Date: Mon, 31 Mar 2014 20:36:24 +0300 Subject: [PATCH] Fixes mitchellh/vagrant #3361 for VirtualBox 4.2.x --- plugins/providers/virtualbox/driver/version_4_2.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/providers/virtualbox/driver/version_4_2.rb b/plugins/providers/virtualbox/driver/version_4_2.rb index 237188871..931e97c59 100644 --- a/plugins/providers/virtualbox/driver/version_4_2.rb +++ b/plugins/providers/virtualbox/driver/version_4_2.rb @@ -110,7 +110,7 @@ module VagrantPlugins if adapter[:hostonly] args.concat(["--hostonlyadapter#{adapter[:adapter]}", - adapter[:hostonly]]) + adapter[:hostonly], "--cableconnected#{adapter[:adapter]}", "on"]) end if adapter[:intnet]