Search code examples
vagrantvirtualboxwindows-10

How to remove extra host only network interfaces created by vagrant on windows 10?


I have recently upgraded to Win 10 and hence to vagrant 1.7.4 and virtual box 5.0.2 r102096. While bringing one of the VM up using vagrant up, vagrant kept failing, but created new Host only adapters in the system on every attempt. Now I have 6 virtual host only adapters.

How do I remove the extraneous ones?


Solution

  • Vboxmanage to the rescue.

    Sample command:

    vboxmanage hostonlyif remove "VirtualBox Host-Only Ethernet Adapter #3"