]> git.ipfire.org Git - thirdparty/systemd.git/blame - network/80-container-vz.network
sysusers: add support for a --image= switch
[thirdparty/systemd.git] / network / 80-container-vz.network
CommitLineData
d9215cd8
ZJS
1# SPDX-License-Identifier: LGPL-2.1+
2#
3af18d8e
LP
3# This file is part of systemd.
4#
5# systemd is free software; you can redistribute it and/or modify it
6# under the terms of the GNU Lesser General Public License as published by
7# the Free Software Foundation; either version 2.1 of the License, or
8# (at your option) any later version.
9
10# This network file matches the bridge interface created by systemd-nspawn's
11# --network-zone= switch. See systemd-nspawn(1) for details.
12
13[Match]
14Name=vz-*
15Driver=bridge
16
17[Network]
18# Default to using a /24 prefix, giving up to 253 addresses per virtual network.
19Address=0.0.0.0/24
20LinkLocalAddressing=yes
21DHCPServer=yes
22IPMasquerade=yes
23LLDP=yes
bbc0c094 24EmitLLDP=customer-bridge