summaryrefslogtreecommitdiffstats
path: root/build-gluster-org
diff options
context:
space:
mode:
Diffstat (limited to 'build-gluster-org')
-rw-r--r--build-gluster-org/scripts/regression-test-burn-in.sh2
-rw-r--r--build-gluster-org/scripts/regression-test-with-multiplex.sh2
2 files changed, 4 insertions, 0 deletions
diff --git a/build-gluster-org/scripts/regression-test-burn-in.sh b/build-gluster-org/scripts/regression-test-burn-in.sh
index be74475..c3ad27b 100644
--- a/build-gluster-org/scripts/regression-test-burn-in.sh
+++ b/build-gluster-org/scripts/regression-test-burn-in.sh
@@ -12,6 +12,8 @@ echo
echo "$MY_ENV"
echo
+# use "7 and not "7" since RHEL use 7.6 while Centos use 7
+grep -q 'VERSION_ID="7' /etc/os-release && export PYTHON=/usr/bin/python2.7
# Remove any gluster daemon leftovers from aborted runs
sudo -E bash /opt/qa/cleanup.sh
diff --git a/build-gluster-org/scripts/regression-test-with-multiplex.sh b/build-gluster-org/scripts/regression-test-with-multiplex.sh
index 00b1bd6..798a15d 100644
--- a/build-gluster-org/scripts/regression-test-with-multiplex.sh
+++ b/build-gluster-org/scripts/regression-test-with-multiplex.sh
@@ -12,6 +12,8 @@ echo
echo "$MY_ENV"
echo
+# use "7 and not "7" since RHEL use 7.6 while Centos use 7
+grep -q 'VERSION_ID="7' /etc/os-release && export PYTHON=/usr/bin/python2.7
# Remove any gluster daemon leftovers from aborted runs
sudo -E bash /opt/qa/cleanup.sh