Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
lustmolch
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
stustanet
lustmolch
Commits
5912be62
Commit
5912be62
authored
5 years ago
by
Michael Loipführer
Browse files
Options
Downloads
Patches
Plain Diff
networking stuff
parent
abbd9a82
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
container/80-container-ve.network
+23
-0
23 additions, 0 deletions
container/80-container-ve.network
container/80-container.host0.network
+11
-0
11 additions, 0 deletions
container/80-container.host0.network
container/nspawn
+2
-2
2 additions, 2 deletions
container/nspawn
with
36 additions
and
2 deletions
container/80-container-ve.network
0 → 100644
+
23
−
0
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
This diff is collapsed.
Click to expand it.
container/80-container.host0.network
0 → 100644
+
11
−
0
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
This diff is collapsed.
Click to expand it.
container/nspawn
+
2
−
2
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment