Merge "Fix EXTRA_OPTS handling"
This commit is contained in:
commit
eae8f82678
4
lib/nova
4
lib/nova
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user