mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
virtualbox service: hide vboxnet0 from NetworkManager, fixes #10862
This commit is contained in:
parent
6681c66db8
commit
d3f6434579
@ -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"];
|
||||
})]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user