Add EXTRA_BAREMETAL_OPTS to stack.sh
Allow the passing of extra options to the [baremetal] option group by specifying EXTRA_BAREMETAL_OPTS, using the same format as the existing flag EXTRA_OPTS. Change-Id: I209675786c6a33a68d83a371292a1e1749ecb14c
This commit is contained in:
parent
9bc47db29c
commit
1edba3318b
6
stack.sh
6
stack.sh
@ -1129,6 +1129,12 @@ if is_service_enabled nova; then
|
||||
iniset $NOVA_CONF baremetal power_manager $BM_POWER_MANAGER
|
||||
iniset $NOVA_CONF baremetal tftp_root /tftpboot
|
||||
|
||||
# Define extra baremetal nova conf flags by defining the array ``EXTRA_BAREMETAL_OPTS``.
|
||||
for I in "${EXTRA_BAREMETAL_OPTS[@]}"; do
|
||||
# Attempt to convert flags to options
|
||||
iniset $NOVA_CONF baremetal ${I//=/ }
|
||||
done
|
||||
|
||||
# Default
|
||||
# -------
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user