Fix EXTRA_OPTS handling
In the conversion away from add_nova_opt the EXTRA_OPTS handling inadvertently replaced all '=' chars in the value rather than just the first. Additional '=' is legal for an option value. FWIW here is the setting that tripped it: EXTRA_OPTS=default_log_levels=sqlalchemy=WARN,boto=WARN,eventlet.wsgi.server=WARN Change-Id: I2deb139171250eb0ef5028bb924569cec31e1a4e
This commit is contained in:
parent
9f67bd692c
commit
dff95122f7
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``.
|
||||
# For Example: ``EXTRA_OPTS=(foo=true bar=2)``
|
||||
for I in "${EXTRA_OPTS[@]}"; do
|
||||
# Attempt to convert flags to options
|
||||
iniset $NOVA_CONF DEFAULT ${I//=/ }
|
||||
# Replace the first '=' with ' ' for iniset syntax
|
||||
iniset $NOVA_CONF DEFAULT ${I/=/ }
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user