Skip to content
This repository has been archived by the owner on Apr 12, 2021. It is now read-only.

Commit

Permalink
Merge pull request #72000 from flokli/virtualbox-vboxnet0-systemd-net…
Browse files Browse the repository at this point in the history
…workd-wait-online-service

nixos/virtualbox: fix systemd-networkd-wait-online.service waiting for vboxnet0
  • Loading branch information
fpletz committed Oct 26, 2019
2 parents 98f0fcf + 32fd887 commit a8fccf2
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion nixos/modules/virtualisation/virtualbox-host.nix
Expand Up @@ -149,5 +149,12 @@ in
# Make sure NetworkManager won't assume this interface being up
# means we have internet access.
networking.networkmanager.unmanaged = ["vboxnet0"];
})]);
}) (mkIf config.networking.useNetworkd {
systemd.network.networks."40-vboxnet0".extraConfig = ''
[Link]
RequiredForOnline=no
'';
})

]);
}

0 comments on commit a8fccf2

Please sign in to comment.