fuel-deploy.sh: Drop local_env mechanism 99/44299/1
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 5 Oct 2017 02:14:16 +0000 (04:14 +0200)
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>
Thu, 5 Oct 2017 02:14:16 +0000 (04:14 +0200)
Now that Fuel supports reading bridge names from IDF / determine
them based on IP address matching to PDF network, we can drop
the mechanism for sourcing "local_env".

Change-Id: Ib9fe0ddb2b54b9c5c037a3451cf049323ae7a864
Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
jjb/fuel/fuel-deploy.sh

index be45604..e818d90 100755 (executable)
@@ -76,13 +76,6 @@ if [[ "${LAB_CONFIG_URL}" =~ ^(git|ssh):// ]]; then
     rm -rf "${LOCAL_CFG}"
     git clone --quiet --branch "${BRANCH}" "${LAB_CONFIG_URL}" "${LOCAL_CFG}"
     LAB_CONFIG_URL="file://${LOCAL_CFG}"
-
-    # Source local_env if present, which contains POD-specific config
-    local_env="${LOCAL_CFG}/labs/${LAB_NAME}/${POD_NAME}/fuel/config/local_env"
-    if [ -e "${local_env}" ]; then
-        echo "-- Sourcing local environment file"
-        source "${local_env}"
-    fi
 fi
 
 # releng wants us to use nothing else but opnfv.iso for now. We comply.