made the platform selection dynamic

This commit is contained in:
Rshad Zhran 2019-08-23 11:29:31 +02:00
parent ce862efdca
commit a837d8a18d

View File

@ -4,7 +4,8 @@ paths=( "molecule/default/" "molecule/worker/" "molecule/elasticsearch/" "molecu
if [ -z "$1" ] if [ -z "$1" ]
then then
echo "Platform not selected. Please select a platform. => Aborting" echo "Platform not selected. Please select a platform of [bionuc, xenial or centos7]. => Aborting"
echo "Run Instruction: ./run_cluster_mode.sh <platform>"
exit exit
else else
for i in "${paths[@]}" for i in "${paths[@]}"