openstack-ansible-lxc_conta.../releasenotes/notes/lxc-interface-scripts-78e9021cf2ed0c97.yaml
Logan V eeabfbc042 Enhance configurability of LXC net interfaces
Add the ability to append pre-up, post-up, pre-down, and post-down script
entries to the container_networks dict that are dropped along with the OSA
default configurations when templating the container's interface config files.

The keys preup, postup, predown, and postdown will be appended to the OSA
lxc_container_default_{pre,post}{up/down} lists when dropping the interface
config.

Change-Id: Idf15ec17bac03b55638fb8d862e5445093677f23
2017-03-22 11:48:04 -05:00

8 lines
334 B
YAML

---
features:
- In the lxc_container_create role, the keys ``preup``, ``postup``,
``predown``, and ``postdown`` are now supported in the
``container_networks`` dict for Ubuntu systems. This allows operators to
configure custom scripts to be run by Ubuntu's ifupdown system when network
interface states are changed.