Merge "neutron: Use update-alternatives --display instead of --query"
This commit is contained in:
commit
5e40e0894f
@ -13,7 +13,8 @@ else
|
||||
fi
|
||||
|
||||
# set legacy iptables to allow kernels not supporting iptables-nft
|
||||
if $UPDATE_ALTERNATIVES --query iptables; then
|
||||
# CentOS has update-alternatives 1.13, so use --display (not --query)
|
||||
if $UPDATE_ALTERNATIVES --display iptables; then
|
||||
# NOTE(yoctozepto): Kolla-Ansible does not always set KOLLA_LEGACY_IPTABLES;
|
||||
# the workaround below ensures it gets set to `false` in such cases to fix
|
||||
# this code under `set -o nounset`.
|
||||
|
5
releasenotes/notes/bug-1936947-8beac926823cdf8f.yaml
Normal file
5
releasenotes/notes/bug-1936947-8beac926823cdf8f.yaml
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixes wrong update-alternatives usage on CentOS.
|
||||
`LP#1936947 <https://launchpad.net/bugs/1936947>`__
|
Loading…
Reference in New Issue
Block a user