Switch to using a script to dynamically spin up the netgraph bridge for jails.
This commit is contained in:
@@ -125,6 +125,17 @@
|
||||
- src: "{{ netgraph_config }}"
|
||||
dest: /usr/local/bin/setup_netgraph
|
||||
|
||||
- name: Install scripts
|
||||
copy:
|
||||
src: "files/{{ item.src }}"
|
||||
dest: "{{ item.dest }}"
|
||||
mode: 0755
|
||||
owner: root
|
||||
group: wheel
|
||||
loop:
|
||||
- src: jail_netgraph_bridge.bash
|
||||
dest: /usr/local/bin/jail_netgraph_bridge
|
||||
|
||||
- name: Enable setup_netgraph
|
||||
when: netgraph_config is defined
|
||||
community.general.sysrc:
|
||||
|
||||
Reference in New Issue
Block a user