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