network: always take possession of host side of nspawn veth tunnels and do IPv4LL on them

This commit is contained in:
Lennart Poettering 2014-05-17 21:32:13 +02:00
parent a46fe318fc
commit 4eaea66423
3 changed files with 22 additions and 1 deletions

View File

@ -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 \

View 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

View 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