From c029035ea96f30551aab81cb033c6e510f2beffe Mon Sep 17 00:00:00 2001 From: Sebastian Kalinowski Date: Tue, 20 Oct 2015 12:24:21 +0200 Subject: [PATCH] Force mac address updates for slaves When using VirtualBox as a provider, "slaves" had the same MAC as first network adapter in "master", which was causing issues with networking. Now MAC will be randomly created. --- Vagrantfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Vagrantfile b/Vagrantfile index fe97b07f..d537996f 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -151,6 +151,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| "--memory", SLAVES_RAM, "--cpus", SLAVES_CPUS, "--ioapic", "on", + "--macaddress1", "auto", ] if PARAVIRT_PROVIDER v.customize ['modifyvm', :id, "--paravirtprovider", PARAVIRT_PROVIDER] # for linux guest