We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents edd4eba + 1cc710d commit e2fb1ceCopy full SHA for e2fb1ce
docker/neutron/neutron-base/extend_start.sh
@@ -13,7 +13,8 @@ else
13
fi
14
15
# set legacy iptables to allow kernels not supporting iptables-nft
16
-if $UPDATE_ALTERNATIVES --query iptables; then
+# CentOS has update-alternatives 1.13, so use --display (not --query)
17
+if $UPDATE_ALTERNATIVES --display iptables; then
18
# NOTE(yoctozepto): Kolla-Ansible does not always set KOLLA_LEGACY_IPTABLES;
19
# the workaround below ensures it gets set to `false` in such cases to fix
20
# this code under `set -o nounset`.
releasenotes/notes/bug-1936947-8beac926823cdf8f.yaml
@@ -0,0 +1,5 @@
1
+---
2
+fixes:
3
+ - |
4
+ Fixes wrong update-alternatives usage on CentOS.
5
+ `LP#1936947 <https://launchpad.net/bugs/1936947>`__
0 commit comments