summaryrefslogtreecommitdiff
path: root/devstack/lib
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2020-09-03 11:12:02 +0000
committerGerrit Code Review <review@openstack.org>2020-09-03 11:12:02 +0000
commit14e2ac1cb4c88a3003c22756ed3c44ec4bacaecd (patch)
tree1ec3475014c988f6edd1f664da71c9076a3c86ba /devstack/lib
parent11aa5f66398c336699022566cb2d0d3cf7cdfcd1 (diff)
parent02fc64a35b97e10b39967c64d872731e02425a05 (diff)
downloadironic-14e2ac1cb4c88a3003c22756ed3c44ec4bacaecd.tar.gz
Merge "Remove absolute path with iptables when L3 enabled"
Diffstat (limited to 'devstack/lib')
-rw-r--r--devstack/lib/ironic4
1 files changed, 2 insertions, 2 deletions
diff --git a/devstack/lib/ironic b/devstack/lib/ironic
index 475f14e74..1713bb0de 100644
--- a/devstack/lib/ironic
+++ b/devstack/lib/ironic
@@ -2592,8 +2592,8 @@ function configure_iptables {
local qrouter
qrouter=$(sudo ip netns list | grep qrouter | awk '{print $1;}')
if [[ ! -z "$qrouter" ]]; then
- sudo ip netns exec $qrouter /sbin/iptables -A PREROUTING -t raw -p udp --dport 69 -j CT --helper tftp
- sudo ip netns exec $qrouter /sbin/ip6tables -A PREROUTING -t raw -p udp --dport 69 -j CT --helper tftp || true
+ sudo ip netns exec $qrouter iptables -A PREROUTING -t raw -p udp --dport 69 -j CT --helper tftp
+ sudo ip netns exec $qrouter ip6tables -A PREROUTING -t raw -p udp --dport 69 -j CT --helper tftp || true
fi
}