neutron-base: remove bashisms
Use [ instead of [[.
This will solve the following issue:
Change-Id: I1153a5146ca8b08dd1ad732b60d8d4bce8e060ab
INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found
INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found
INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found
INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found
INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found
INFO:kolla.common.utils.neutron-base:/bin/sh: 1: [[: not found
INFO:kolla.common.utils.neutron-base:
(cherry picked from commit 441064147a
)
This commit is contained in:
parent
3bc14c84b1
commit
4b0416e450
@ -138,7 +138,7 @@ RUN ln -s neutron-base-source/* neutron \
|
||||
&& if [ "$(ls /plugins)" ]; then \
|
||||
{{ macros.install_pip(neutron_base_plugins_pip_packages) }} \
|
||||
&& for neutron_plugins in $(ls /plugins); do \
|
||||
if [[ -d "/plugins/$neutron_plugins/etc/neutron/rootwrap.d" ]]; then \
|
||||
if [ -d "/plugins/$neutron_plugins/etc/neutron/rootwrap.d" ]; then \
|
||||
cp /plugins/$neutron_plugins/etc/neutron/rootwrap.d/* /etc/neutron/rootwrap.d; \
|
||||
fi; \
|
||||
done; \
|
||||
|
Loading…
Reference in New Issue
Block a user