Merge "Fix EXTRA_OPTS handling"

This commit is contained in:
Jenkins 2013-01-11 23:35:05 +00:00 committed by Gerrit Code Review
commit eae8f82678

View File

@ -432,8 +432,8 @@ function create_nova_conf() {
# Define extra nova conf flags by defining the array ``EXTRA_OPTS``. # Define extra nova conf flags by defining the array ``EXTRA_OPTS``.
# For Example: ``EXTRA_OPTS=(foo=true bar=2)`` # For Example: ``EXTRA_OPTS=(foo=true bar=2)``
for I in "${EXTRA_OPTS[@]}"; do for I in "${EXTRA_OPTS[@]}"; do
# Attempt to convert flags to options # Replace the first '=' with ' ' for iniset syntax
iniset $NOVA_CONF DEFAULT ${I//=/ } iniset $NOVA_CONF DEFAULT ${I/=/ }
done done
} }