This commit is contained in:
t3chn0m4g3 2016-03-07 13:13:52 +01:00
parent 392fb9c344
commit 211894753f

View file

@ -206,22 +206,24 @@ DOCKER_OPTS="-r=false"
EOF EOF
# Let's make sure only myFLAVOR images will be downloaded and started # Let's make sure only myFLAVOR images will be downloaded and started
if [ "$myFLAVOR" = "HP" ] case $myFLAVOR in
then HP)
echo "### Preparing HONEYPOT flavor installation."
cp /root/tpot/data/imgcfg/hp_images.conf /root/tpot/data/images.conf cp /root/tpot/data/imgcfg/hp_images.conf /root/tpot/data/images.conf
fi ;;
if [ "$myFLAVOR" = "INDUSTRIAL" ] INDUSTRIAL)
then echo "### Preparing INDUSTRIAL flavor installation."
cp /root/tpot/data/imgcfg/industrial_images.conf /root/tpot/data/images.conf cp /root/tpot/data/imgcfg/industrial_images.conf /root/tpot/data/images.conf
fi ;;
if [ "$myFLAVOR" = "TPOT" ] TPOT)
then echo "### Preparing TPOT flavor installation."
cp /root/tpot/data/imgcfg/tpot_images.conf /root/tpot/data/images.conf cp /root/tpot/data/imgcfg/tpot_images.conf /root/tpot/data/images.conf
fi ;;
if [ "$myFLAVOR" = "ALL" ] ALL)
then echo "### Preparing EVERYTHING flavor installation."
cp /root/tpot/data/imgcfg/all_images.conf /root/tpot/data/images.conf cp /root/tpot/data/imgcfg/all_images.conf /root/tpot/data/images.conf
fi ;;
esac
# Let's load docker images # Let's load docker images
fuECHO "### Loading docker images. Please be patient, this may take a while." fuECHO "### Loading docker images. Please be patient, this may take a while."