From 211894753ff8a2b40a1ec67ba148bb29ed90f197 Mon Sep 17 00:00:00 2001 From: t3chn0m4g3 Date: Mon, 7 Mar 2016 13:13:52 +0100 Subject: [PATCH] tweaking --- installer/install.sh | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/installer/install.sh b/installer/install.sh index 8c44161d..b61c7661 100755 --- a/installer/install.sh +++ b/installer/install.sh @@ -206,22 +206,24 @@ DOCKER_OPTS="-r=false" EOF # Let's make sure only myFLAVOR images will be downloaded and started -if [ "$myFLAVOR" = "HP" ] - then +case $myFLAVOR in + HP) + echo "### Preparing HONEYPOT flavor installation." cp /root/tpot/data/imgcfg/hp_images.conf /root/tpot/data/images.conf -fi -if [ "$myFLAVOR" = "INDUSTRIAL" ] - then + ;; + INDUSTRIAL) + echo "### Preparing INDUSTRIAL flavor installation." cp /root/tpot/data/imgcfg/industrial_images.conf /root/tpot/data/images.conf -fi -if [ "$myFLAVOR" = "TPOT" ] - then + ;; + TPOT) + echo "### Preparing TPOT flavor installation." cp /root/tpot/data/imgcfg/tpot_images.conf /root/tpot/data/images.conf -fi -if [ "$myFLAVOR" = "ALL" ] - then + ;; + ALL) + echo "### Preparing EVERYTHING flavor installation." cp /root/tpot/data/imgcfg/all_images.conf /root/tpot/data/images.conf -fi + ;; +esac # Let's load docker images fuECHO "### Loading docker images. Please be patient, this may take a while."