From 536ea0729b8ade870fdcc7db34f1379ccec3819e Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 8 Jul 2015 18:35:44 -0600 Subject: [PATCH] providers/virtualbox: name for private network chooses right interface [GH-5389] --- CHANGELOG.md | 2 ++ plugins/providers/virtualbox/action/network.rb | 1 + 2 files changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 84e4a0d01..51930b272 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -102,6 +102,8 @@ BUG FIXES: on Windows [GH-1483] - providers/virtualbox: Error if another user is running after a VM is created to avoid issue with VirtualBox "losing" the VM [GH-5895] + - providers/virtualbox: The "name" setting on private networks will + choose an existing hostonly network [GH-5389] - provisioners/ansible: fix SSH settings to support more than 5 ssh keys [GH-5017] - provisioners/ansible: increase ansible connection timeout to 30 seconds [GH-5018] - provisioners/ansible: disable color if Vagrant is not colored [GH-5531, GH-5532] diff --git a/plugins/providers/virtualbox/action/network.rb b/plugins/providers/virtualbox/action/network.rb index a95b79857..3697cdfef 100644 --- a/plugins/providers/virtualbox/action/network.rb +++ b/plugins/providers/virtualbox/action/network.rb @@ -306,6 +306,7 @@ module VagrantPlugins auto_config: options[:auto_config], ip: options[:ip], mac: options[:mac], + name: options[:name], netmask: options[:netmask], nic_type: options[:nic_type], type: options[:type]