Skip to content

Commit 4eaea66

Browse files
committed
network: always take possession of host side of nspawn veth tunnels and do IPv4LL on them
1 parent a46fe31 commit 4eaea66

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2641,7 +2641,8 @@ INSTALL_DIRS += \
26412641

26422642
dist_network_DATA = \
26432643
network/99-default.link \
2644-
network/80-container-host0.network
2644+
network/80-container-host0.network \
2645+
network/80-container-ve.network
26452646

26462647
dist_udevrules_DATA += \
26472648
rules/42-usb-hid-pm.rules \

network/80-container-host0.network

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
# This file is part of systemd.
2+
#
3+
# systemd is free software; you can redistribute it and/or modify it
4+
# under the terms of the GNU Lesser General Public License as published by
5+
# the Free Software Foundation; either version 2.1 of the License, or
6+
# (at your option) any later version.
7+
18
[Match]
29
Virtualization=container
310
Name=host0

network/80-container-ve.network

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# This file is part of systemd.
2+
#
3+
# systemd is free software; you can redistribute it and/or modify it
4+
# under the terms of the GNU Lesser General Public License as published by
5+
# the Free Software Foundation; either version 2.1 of the License, or
6+
# (at your option) any later version.
7+
8+
[Match]
9+
Name=ve-*
10+
Driver=veth
11+
12+
[Network]
13+
IPv4LL=yes

0 commit comments

Comments
 (0)