Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
servers-config
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Sistemisti
servers-config
Commits
4a74fc48
Commit
4a74fc48
authored
Mar 16, 2018
by
Pietro Albini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
lxd: allow containers to communicate with the host
parent
9a33494e
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
0 deletions
+17
-0
roles/lxd/tasks/setup.yml
roles/lxd/tasks/setup.yml
+10
-0
roles/lxd/templates/firewall.sh
roles/lxd/templates/firewall.sh
+7
-0
No files found.
roles/lxd/tasks/setup.yml
View file @
4a74fc48
...
@@ -62,3 +62,13 @@
...
@@ -62,3 +62,13 @@
append
:
true
append
:
true
with_items
:
"
{{
facts_common_admin_users
}}"
with_items
:
"
{{
facts_common_admin_users
}}"
-
name
:
Add firewall rules
template
:
src
:
firewall.sh
dest
:
"
/etc/firewall/lxd.sh"
mode
:
0744
notify
:
-
common.reload-firewall
roles/lxd/templates/firewall.sh
0 → 100644
View file @
4a74fc48
#
# {{ ansible_managed }}
#
BRIDGE
=
"lxdbr0"
cmd
-I
input 3
-i
"
${
BRIDGE
}
"
-j
ACCEPT
# Accept all connections from the bridge
Write
Preview
Markdown
is supported
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