diff options
author | devhell <devhell@mailfresser.de> | 2020-03-24 17:48:15 +0000 |
---|---|---|
committer | devhell <devhell@mailfresser.de> | 2020-03-24 17:48:15 +0000 |
commit | dc4f68bf85eda01f79353c993304121ef6b12a48 (patch) | |
tree | e81b6f287fd4c30b5f55f23543b661e22fea2f1a /machines | |
parent | 8367d198733d9e66e542d28511ac3df44dbc1987 (diff) |
machines/hildr: Add exceptions for certain ifaces
This has come about because qemu-kvm VMs lost the ability to gain a DHCP issued IP address after a reboot. As it turns out networkd seems to have played a part in messing with the virbr0 interface. Thanks to @aszlig we figured out what was going on, so now we're going to make networkd ignore all interfaces that are not physical.
Diffstat (limited to 'machines')
-rw-r--r-- | machines/devhell/hildr.nix | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/machines/devhell/hildr.nix b/machines/devhell/hildr.nix index d667b84b..d9e034e2 100644 --- a/machines/devhell/hildr.nix +++ b/machines/devhell/hildr.nix @@ -56,6 +56,10 @@ # XXX Ensure that these are added in addition to the DHCP provided DNS servers systemd.network.networks."99-main".dns = [ "1.1.1.1" "1.0.0.1" ]; + systemd.network.networks."99-libvirt" = { + matchConfig.Name = "virbr* vnet* docker*"; + linkConfig.Unmanaged = true; + }; networking = { hostName = "hildr"; |