20610: Moves code from local.params to its own common.sh file.
[arvados.git] / tools / salt-install / installer.sh
index 3c583a0e69864158cc8aa5af01b6125badfe3dae..977f277f7957dbdc13089515ab0d3b0e49e89803 100755 (executable)
@@ -135,8 +135,7 @@ loadconfig() {
     if ! [[ -s ${CONFIG_FILE} && -s ${CONFIG_FILE}.secrets ]]; then
                echo "Must be run from initialized setup dir, maybe you need to 'initialize' first?"
     fi
-    source ${CONFIG_FILE}.secrets
-    source ${CONFIG_FILE}
+    source common.sh
     GITTARGET=arvados-deploy-config-${CLUSTER}
 
        # Set up SSH so that it doesn't forward any environment variable. This is to avoid