day1 adding salt missing param
Change-Id: Iee1862cb4d3b68f1e841bb6d49b448383109d6fb
diff --git a/day01-image/scripts/salt.sh b/day01-image/scripts/salt.sh
index 2869791..d810cb1 100644
--- a/day01-image/scripts/salt.sh
+++ b/day01-image/scripts/salt.sh
@@ -1,5 +1,8 @@
#!/bin/bash -xe
+FORMULA_VERSION=${FORMULA_VERSION:-testing}
+APT_MIRANTIS_SALT_REPO=${APT_MIRANTIS_SALT_REPO:-"http://apt.mirantis.com/xenial/ $FORMULA_VERSION salt"}
+
echo "deb [arch=amd64] ${APT_MIRANTIS_SALT_REPO}" > /etc/apt/sources.list.d/mcp_salt.list
apt-get update
apt-get install salt-formula* -y
diff --git a/day01-image/scripts/salt_bootstrap.sh b/day01-image/scripts/salt_bootstrap.sh
index fed903d..54597cc 100644
--- a/day01-image/scripts/salt_bootstrap.sh
+++ b/day01-image/scripts/salt_bootstrap.sh
@@ -1,4 +1,6 @@
#!/bin/bash -xe
+CLUSTER_NAME=${CLUSTER_NAME:-mcp-day01}
+CLUSTER_MODEL=${CLUSTER_MODEL:-https://github.com/Mirantis/mcp-drivetrain-model.git}
CLUSTER_MODEL_REF=${CLUSTER_MODEL_REF:-master}
FORMULA_VERSION=${FORMULA_VERSION:-testing}
SALTSTACK_GPG=${SALTSTACK_GPG:-"https://repo.saltstack.com/apt/ubuntu/16.04/amd64/2016.3/SALTSTACK-GPG-KEY.pub"}