mirror of
https://github.com/systemd/systemd.git
synced 2025-01-03 05:18:09 +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 = \
|
||||
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 \
|
||||
|
@ -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
|
||||
|
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…
Reference in New Issue
Block a user