From 1edba3318b5d0b52d00905edf0f1632c258225d4 Mon Sep 17 00:00:00 2001 From: Devananda van der Veen Date: Wed, 9 Jan 2013 15:29:03 -0800 Subject: [PATCH] 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 --- stack.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/stack.sh b/stack.sh index 5a02e0767f..ebb0bad403 100755 --- a/stack.sh +++ b/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 # -------