Open survivant opened 4 years ago
I just ran across this because of a VM which I created with packer that used a static mac address (was required during initial Windows provisioning). I guess the setting must get baked into the base box, my other VMs which were created with dynamic MACs do not have this issue.
When you create more that one VM, you cannot have 2 VM that have the same MAC address running in the same time.
We should be able to set a param in VagrantFile to generate a dynamic MAC. The fonctionnality is present in HyperV
Set-VMNetworkAdapter -DynamicMacAddress
https://docs.microsoft.com/en-us/powershell/module/hyper-v/set-vmnetworkadapter?view=win10-ps