Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
stustanet
lustmolch
Commits
5912be62
Commit
5912be62
authored
Jun 10, 2019
by
Michael Loipführer
Browse files
networking stuff
parent
abbd9a82
Changes
3
Hide whitespace changes
Inline
Side-by-side
container/80-container-ve.network
0 → 100644
View file @
5912be62
# 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
container/80-container.host0.network
0 → 100644
View file @
5912be62
[Match]
Virtualization=container
Name=host0
[Network]
DHCP=no
DNS={{ dns_server }}
Address={{ ip_address_container }}
Gateway={{ gateway }}
LLDP=yes
EmitLLDP=customer-bridge
container/nspawn
View file @
5912be62
[Network]
VirtualEthernet=
no
VirtualEthernet=
yes
[Files]
Bind=/var/www/{{name}}:/var/www
[Exec]
PrivateUsers=off
\ No newline at end of file
PrivateUsers=off
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment