virtualbox service: hide vboxnet0 from NetworkManager, fixes #10862

This commit is contained in:
Tomasz Kontusz 2015-11-07 14:07:11 +01:00 committed by Rok Garbas
parent 6681c66db8
commit d3f6434579

View File

@ -111,5 +111,8 @@ in
};
networking.interfaces.vboxnet0.ip4 = [ { address = "192.168.56.1"; prefixLength = 24; } ];
# Make sure NetworkManager won't assume this interface being up
# means we have internet access.
networking.networkmanager.unmanaged = ["vboxnet0"];
})]);
}