cloud-infra: Update the distro in temporary sdf
The distro in temporary SDF is hardcoded so this change
changes it to use the distro of Jenkins slave where the
job is running on.
Change-Id: Ieb7b007cf4984fef5fa63bd3107860af1fbc86a5
diff --git a/jjb/cloud-infra/prepare-for-scenario-deploy.sh b/jjb/cloud-infra/prepare-for-scenario-deploy.sh
index 5cfc1a5..9729dd8 100644
--- a/jjb/cloud-infra/prepare-for-scenario-deploy.sh
+++ b/jjb/cloud-infra/prepare-for-scenario-deploy.sh
@@ -37,7 +37,7 @@
$INSTALLER_TYPE:
role: scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO
distros:
- - ubuntu
+ - $DISTRO
EOF
echo "Info: Temporary SDF content"
echo "-------------------------------------------------------------------------"
diff --git a/jjb/cloud-infra/prepare-for-scenario-test.sh b/jjb/cloud-infra/prepare-for-scenario-test.sh
index aefe033..b1f42f0 100644
--- a/jjb/cloud-infra/prepare-for-scenario-test.sh
+++ b/jjb/cloud-infra/prepare-for-scenario-test.sh
@@ -37,7 +37,7 @@
$INSTALLER_TYPE:
role: scenarios/$DEPLOY_SCENARIO/$INSTALLER_TYPE/role/$DEPLOY_SCENARIO
distros:
- - ubuntu
+ - $DISTRO
EOF
echo "Info: Temporary SDF content"
echo "-------------------------------------------------------------------------"