Browse code

Remove configuration parameter EXTRA_BAREMETAL_OPTS

According to the comments in stack.sh the configuration parameter
EXTRA_BAREMETAL_OPTS should be removed during the Juno cycle.

Change-Id: I8564d16e56d1f77d3afa4af9a50fbffa3da8bfe5

Christian Berendt authored on 2014/07/24 19:37:13
Showing 2 changed files
... ...
@@ -58,12 +58,6 @@ function configure_nova_hypervisor {
58 58
         sudo cp "$FILES/dnsmasq-for-baremetal-from-nova-network.conf" "$BM_DNSMASQ_CONF"
59 59
         iniset $NOVA_CONF DEFAULT dnsmasq_config_file "$BM_DNSMASQ_CONF"
60 60
     fi
61
-
62
-    # Define extra baremetal nova conf flags by defining the array ``EXTRA_BAREMETAL_OPTS``.
63
-    for I in "${EXTRA_BAREMETAL_OPTS[@]}"; do
64
-        # Attempt to convert flags to options
65
-        iniset $NOVA_CONF baremetal ${I/=/ }
66
-    done
67 61
 }
68 62
 
69 63
 # install_nova_hypervisor() - Install external components
... ...
@@ -1422,23 +1422,6 @@ if [[ -n "$EXTRA_OPTS" ]]; then
1422 1422
     done
1423 1423
 fi
1424 1424
 
1425
-# TODO(dtroyer): Remove EXTRA_BAREMETAL_OPTS after stable/icehouse branch is cut
1426
-if [[ -n "$EXTRA_BAREMETAL_OPTS" ]]; then
1427
-    echo ""
1428
-    echo_summary "WARNING: EXTRA_BAREMETAL_OPTS is used"
1429
-    echo "You are using EXTRA_BAREMETAL_OPTS to pass configuration into nova.conf."
1430
-    echo "Please convert that configuration in localrc to a nova.conf section in local.conf:"
1431
-    echo "EXTRA_BAREMETAL_OPTS will be removed early in the Juno development cycle"
1432
-    echo "
1433
-[[post-config|\$NOVA_CONF]]
1434
-[baremetal]
1435
-"
1436
-    for I in "${EXTRA_BAREMETAL_OPTS[@]}"; do
1437
-        # Replace the first '=' with ' ' for iniset syntax
1438
-        echo ${I}
1439
-    done
1440
-fi
1441
-
1442 1425
 # TODO(dtroyer): Remove Q_AGENT_EXTRA_AGENT_OPTS after stable/juno branch is cut
1443 1426
 if [[ -n "$Q_AGENT_EXTRA_AGENT_OPTS" ]]; then
1444 1427
     echo ""