instack-undercloud/elements/undercloud-install/os-refresh-config
Harald Jensås 4366fa8b14 Fix duplicate entries in /etc/sysconfig/iptables
Commit e49688be98
introduced filters for ephemeral firewall rules
managed by Ironic Inspectors iptables PXE filter.
These new filters cause duplicate entries in the
persisted firewall rules.

sed expression '/-m comment --comment/p' was used
to ensure the ironic-inspector api port is not
accidentally removed. But the expression also
matches several other entries causing duplicates
to be written.

This change enhances the expression to check for
'-m comment --comment' and 'ironic-inspector'.

Related-Bug: #1771128
Change-Id: I6ac397e786f66e33c523edb94613181040c15f19
2018-05-17 07:35:27 +00:00
..
configure.d Use ironic::pxe class to setup PXE 2016-09-02 11:52:14 +02:00
post-configure.d Fix duplicate entries in /etc/sysconfig/iptables 2018-05-17 07:35:27 +00:00