about summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-05-07 17:00:46 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-05-07 17:53:57 +0200
commit6f7aaf10a5beb6cc10ebe75674d9c8664bd187fa (patch)
treec4ced63774765a3b7476d958e1d52c59b7be7cd1 /nixos/modules/services
parent810680bcae1f8ca23744544e87fbf03b705e9493 (diff)
downloadnixlib-6f7aaf10a5beb6cc10ebe75674d9c8664bd187fa.tar
nixlib-6f7aaf10a5beb6cc10ebe75674d9c8664bd187fa.tar.gz
nixlib-6f7aaf10a5beb6cc10ebe75674d9c8664bd187fa.tar.bz2
nixlib-6f7aaf10a5beb6cc10ebe75674d9c8664bd187fa.tar.lz
nixlib-6f7aaf10a5beb6cc10ebe75674d9c8664bd187fa.tar.xz
nixlib-6f7aaf10a5beb6cc10ebe75674d9c8664bd187fa.tar.zst
nixlib-6f7aaf10a5beb6cc10ebe75674d9c8664bd187fa.zip
Containers: Use systemd-nspawn's --network-veth flag
Note that this causes the name of the host-side interface to change
from c-<name> to ve-<name>.
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/networking/dhcpcd.nix5
1 files changed, 2 insertions, 3 deletions
diff --git a/nixos/modules/services/networking/dhcpcd.nix b/nixos/modules/services/networking/dhcpcd.nix
index 757340b3c2cd..8799d7d8a201 100644
--- a/nixos/modules/services/networking/dhcpcd.nix
+++ b/nixos/modules/services/networking/dhcpcd.nix
@@ -34,9 +34,8 @@ let
 
       # Ignore peth* devices; on Xen, they're renamed physical
       # Ethernet cards used for bridging.  Likewise for vif* and tap*
-      # (Xen) and virbr* and vnet* (libvirt) and c-* and ctmp-* (NixOS
-      # containers).
-      denyinterfaces ${toString ignoredInterfaces} lo peth* vif* tap* tun* virbr* vnet* vboxnet* c-* ctmp-*
+      # (Xen) and virbr* and vnet* (libvirt).
+      denyinterfaces ${toString ignoredInterfaces} lo peth* vif* tap* tun* virbr* vnet* vboxnet*
 
       ${config.networking.dhcpcd.extraConfig}
     '';