summaryrefslogtreecommitdiffstats
path: root/functions.sh
diff options
context:
space:
mode:
authorRihab Banday <rihab.banday@ericsson.com>2021-02-02 17:16:57 +0100
committerRihab Banday <rihab.banday@ericsson.com>2021-05-04 07:53:47 +0000
commit76243b0baeaa427fa4042d92b1aef0a0dc7835d9 (patch)
treee3931074e6633f2794fc9cabd05f019c3d29b98d /functions.sh
parent92ff19c63d31deb2612800828ab09e5749e12476 (diff)
Add support for deployment on multiple OS distros
This patch introduces a variable to support deployments on different OS distros. Change-Id: I9cad126a57acbf662c4c97cfc5a275594f4d3f06 Signed-off-by: Rihab Banday <rihab.banday@ericsson.com> Reviewed-on: https://gerrit.opnfv.org/gerrit/c/kuberef/+/71843 Tested-by: jenkins-ci <jenkins-opnfv-ci@opnfv.org> Reviewed-by: Michael Pedersen <michaelx.pedersen@intel.com>
Diffstat (limited to 'functions.sh')
-rwxr-xr-xfunctions.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/functions.sh b/functions.sh
index 1a07ec0..6740ca2 100755
--- a/functions.sh
+++ b/functions.sh
@@ -183,7 +183,7 @@ if [ ! -d "${PROJECT_ROOT}/engine" ]; then
${PROJECT_ROOT}/engine/engine
fi
cd ${PROJECT_ROOT}/engine/engine
-./deploy.sh -s ironic -d centos7 \
+./deploy.sh -s ironic -d ${DISTRO} \
-p file:///${PROJECT_ROOT}/engine/engine/pdf.yaml \
-i file:///${PROJECT_ROOT}/engine/engine/idf.yaml
EOF