Browse code

Merge "Remove configuration parameter EXTRA_BAREMETAL_OPTS"

Jenkins authored on 2014/07/27 04:44:48
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
... ...
@@ -1413,23 +1413,6 @@ if [[ -n "$EXTRA_OPTS" ]]; then
1413 1413
     done
1414 1414
 fi
1415 1415
 
1416
-# TODO(dtroyer): Remove EXTRA_BAREMETAL_OPTS after stable/icehouse branch is cut
1417
-if [[ -n "$EXTRA_BAREMETAL_OPTS" ]]; then
1418
-    echo ""
1419
-    echo_summary "WARNING: EXTRA_BAREMETAL_OPTS is used"
1420
-    echo "You are using EXTRA_BAREMETAL_OPTS to pass configuration into nova.conf."
1421
-    echo "Please convert that configuration in localrc to a nova.conf section in local.conf:"
1422
-    echo "EXTRA_BAREMETAL_OPTS will be removed early in the Juno development cycle"
1423
-    echo "
1424
-[[post-config|\$NOVA_CONF]]
1425
-[baremetal]
1426
-"
1427
-    for I in "${EXTRA_BAREMETAL_OPTS[@]}"; do
1428
-        # Replace the first '=' with ' ' for iniset syntax
1429
-        echo ${I}
1430
-    done
1431
-fi
1432
-
1433 1416
 # TODO(dtroyer): Remove Q_AGENT_EXTRA_AGENT_OPTS after stable/juno branch is cut
1434 1417
 if [[ -n "$Q_AGENT_EXTRA_AGENT_OPTS" ]]; then
1435 1418
     echo ""