summaryrefslogtreecommitdiffstats
path: root/network/80-container-host0-tun.network
blob: 1a50512d83695cdf9bd98c804314fe0163b995ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# SPDX-License-Identifier: MIT-0
#
# This config file is installed as part of systemd.
# It may be freely copied and edited (following the MIT No Attribution license).
#
# To make local modifications, use "networkctl edit". See networkctl(1) for details.
# This file should not be edited in place, because it'll be overwritten on upgrades.

# This network file is inside unprivileged containers that rely on network being
# provided as a tun link via slirp4netns(1) or pasta(1).

[Match]
Kind=tun
Name=host0
Virtualization=container

[Network]
DHCP=yes
LinkLocalAddressing=yes

[DHCP]
UseTimezone=yes