Merge "devstack (stack.sh) fails when extra config files are specified"
This commit is contained in:
commit
9f935cbd4a
@ -586,11 +586,9 @@ function _configure_neutron_common {
|
|||||||
# If additional config files exist, copy them over to neutron configuration
|
# If additional config files exist, copy them over to neutron configuration
|
||||||
# directory
|
# directory
|
||||||
if [[ $Q_PLUGIN_EXTRA_CONF_PATH != '' ]]; then
|
if [[ $Q_PLUGIN_EXTRA_CONF_PATH != '' ]]; then
|
||||||
mkdir -p /$Q_PLUGIN_EXTRA_CONF_PATH
|
|
||||||
local f
|
local f
|
||||||
for (( f=0; $f < ${#Q_PLUGIN_EXTRA_CONF_FILES[@]}; f+=1 )); do
|
for (( f=0; $f < ${#Q_PLUGIN_EXTRA_CONF_FILES[@]}; f+=1 )); do
|
||||||
Q_PLUGIN_EXTRA_CONF_FILES[$f]=$Q_PLUGIN_EXTRA_CONF_PATH/${Q_PLUGIN_EXTRA_CONF_FILES[$f]}
|
Q_PLUGIN_EXTRA_CONF_FILES[$f]=$Q_PLUGIN_EXTRA_CONF_PATH/${Q_PLUGIN_EXTRA_CONF_FILES[$f]}
|
||||||
cp $NEUTRON_DIR/${Q_PLUGIN_EXTRA_CONF_FILES[$f]} /${Q_PLUGIN_EXTRA_CONF_FILES[$f]}
|
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user