chiark / gitweb /
network: always take possession of host side of nspawn veth tunnels and do IPv4LL...
authorLennart Poettering <lennart@poettering.net>
Sat, 17 May 2014 19:32:13 +0000 (21:32 +0200)
committerLennart Poettering <lennart@poettering.net>
Sun, 18 May 2014 11:52:49 +0000 (20:52 +0900)
Makefile.am
network/80-container-host0.network
network/80-container-ve.network [new file with mode: 0644]

index 6e0a59d31f7d6cd767ad829a75275cc9d65138d5..6e01188410934dbbb44271dd1ea91ad50ce74bd5 100644 (file)
@@ -2641,7 +2641,8 @@ INSTALL_DIRS += \
 
 dist_network_DATA = \
        network/99-default.link \
 
 dist_network_DATA = \
        network/99-default.link \
-       network/80-container-host0.network
+       network/80-container-host0.network \
+       network/80-container-ve.network
 
 dist_udevrules_DATA += \
        rules/42-usb-hid-pm.rules \
 
 dist_udevrules_DATA += \
        rules/42-usb-hid-pm.rules \
index 5d327b4fdd46032fc2d35af6d8ea3b73f8c92705..8d9293f23958bac3db4903d4db5048acded663d1 100644 (file)
@@ -1,3 +1,10 @@
+#  This file is part of systemd.
+#
+#  systemd is free software; you can redistribute it and/or modify it
+#  under the terms of the GNU Lesser General Public License as published by
+#  the Free Software Foundation; either version 2.1 of the License, or
+#  (at your option) any later version.
+
 [Match]
 Virtualization=container
 Name=host0
 [Match]
 Virtualization=container
 Name=host0
diff --git a/network/80-container-ve.network b/network/80-container-ve.network
new file mode 100644 (file)
index 0000000..f0c02b0
--- /dev/null
@@ -0,0 +1,13 @@
+#  This file is part of systemd.
+#
+#  systemd is free software; you can redistribute it and/or modify it
+#  under the terms of the GNU Lesser General Public License as published by
+#  the Free Software Foundation; either version 2.1 of the License, or
+#  (at your option) any later version.
+
+[Match]
+Name=ve-*
+Driver=veth
+
+[Network]
+IPv4LL=yes