Skip to content

Instantly share code, notes, and snippets.

@f9n
Created August 16, 2019 09:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save f9n/af58f750c5ce569e322c9c4da50723a2 to your computer and use it in GitHub Desktop.
Save f9n/af58f750c5ce569e322c9c4da50723a2 to your computer and use it in GitHub Desktop.
Remove unused network interfaces on Vagrant

Vagrant no longer removes unused network interfaces and leaves it up to the user. This can forcibly be re-enabled using VirtualBox provider-specific config:

config.vm.provider "virtualbox" do |v|
  v.destroy_unused_network_interfaces = true
end

Source: hashicorp/vagrant#1324 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment