Florian Klink 32fd88726b nixos/virtualbox: fix systemd-networkd-wait-online.service waiting for vboxnet0
While switching NixOS configurations with both

networking.useNetworkd = true;
virtualisation.virtualbox.host.enable;

You often end up waiting for systemd-networkd-wait-online.service.

This happens because the vboxnet0 device doesn't have a carrier until
virtualbox machines are started, so networkd gets stuck in
"Configuring":

⇒  networkctl list
IDX LINK          TYPE      OPERATIONAL SETUP
  1 lo            loopback  carrier     unmanaged
  2 wlp2s0        wlan      routable    unmanaged
  3 vboxnet0      ether     no-carrier  configuring

This updates the NixOS virtualbox host module to include a
RequiredForOnline=no statement in the generated 40-vboxnet0.network
file, so networkd doesn't consider it necessary for
systemd-networkd-wait-online.service to finish.
2019-10-26 00:45:42 +02:00
..
2019-09-06 02:57:51 +02:00
2019-05-22 08:40:01 -07:00
2019-04-18 23:07:14 -04:00
2019-08-26 21:40:19 +00:00
2018-11-16 11:43:42 +01:00
2018-09-28 22:28:26 +08:00
2019-09-02 23:25:24 +02:00
2019-08-23 17:52:12 +02:00
2018-04-14 11:02:24 +01:00
2017-11-07 11:04:12 +00:00
2019-07-01 04:23:51 -04:00