Skip to content
Snippets Groups Projects
Commit 5912be62 authored by Michael Loipführer's avatar Michael Loipführer
Browse files

networking stuff

parent abbd9a82
No related branches found
No related tags found
No related merge requests found
# SPDX-License-Identifier: LGPL-2.1+
#
# 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.
# This network file matches the host-side of the virtual Ethernet link
# created by systemd-nspawn's --network-veth switch. See systemd-nspawn(1) for
# details.
[Match]
Name=ve-{{ name }}
Driver=veth
[Network]
Address={{ ip_address_host }}
IPMasquerade=yes
LLDP=yes
EmitLLDP=customer-bridge
IPForward=1
[Match]
Virtualization=container
Name=host0
[Network]
DHCP=no
DNS={{ dns_server }}
Address={{ ip_address_container }}
Gateway={{ gateway }}
LLDP=yes
EmitLLDP=customer-bridge
[Network]
VirtualEthernet=no
VirtualEthernet=yes
[Files]
Bind=/var/www/{{name}}:/var/www
[Exec]
PrivateUsers=off
\ No newline at end of file
PrivateUsers=off
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment