Commit 4a74fc48 authored by Pietro Albini's avatar Pietro Albini

lxd: allow containers to communicate with the host

parent 9a33494e
...@@ -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
#
# {{ ansible_managed }}
#
BRIDGE="lxdbr0"
cmd -I input 3 -i "${BRIDGE}" -j ACCEPT # Accept all connections from the bridge
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment