mirror of
https://github.com/systemd/systemd.git
synced 2025-01-18 10:04:04 +03:00
network: always take possession of host side of nspawn veth tunnels and do IPv4LL on them
This commit is contained in:
parent
a46fe318fc
commit
4eaea66423
@ -2641,7 +2641,8 @@ INSTALL_DIRS += \
|
|||||||
|
|
||||||
dist_network_DATA = \
|
dist_network_DATA = \
|
||||||
network/99-default.link \
|
network/99-default.link \
|
||||||
network/80-container-host0.network
|
network/80-container-host0.network \
|
||||||
|
network/80-container-ve.network
|
||||||
|
|
||||||
dist_udevrules_DATA += \
|
dist_udevrules_DATA += \
|
||||||
rules/42-usb-hid-pm.rules \
|
rules/42-usb-hid-pm.rules \
|
||||||
|
@ -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]
|
[Match]
|
||||||
Virtualization=container
|
Virtualization=container
|
||||||
Name=host0
|
Name=host0
|
||||||
|
13
network/80-container-ve.network
Normal file
13
network/80-container-ve.network
Normal file
@ -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
|
Loading…
x
Reference in New Issue
Block a user