static link to compose.ymls

this will ensure for the future update script that changes will be engaged w/o user interaction
This commit is contained in:
t3chn0m4g3 2018-06-28 13:25:16 +00:00
parent 38112755ce
commit ac47c7b555

View file

@ -593,27 +593,27 @@ sed -i 's#\#Port 22#Port 64295#' /etc/ssh/sshd_config 2>&1 | dialog --title "[ S
case $myCONF_TPOT_FLAVOR in case $myCONF_TPOT_FLAVOR in
STANDARD) STANDARD)
echo "### Preparing STANDARD flavor installation." echo "### Preparing STANDARD flavor installation."
cp /opt/tpot/etc/compose/standard.yml $myTPOTCOMPOSE 2>&1>/dev/null ln -s /opt/tpot/etc/compose/standard.yml $myTPOTCOMPOSE 2>&1>/dev/null
;; ;;
SENSOR) SENSOR)
echo "### Preparing SENSOR flavor installation." echo "### Preparing SENSOR flavor installation."
cp /opt/tpot/etc/compose/sensor.yml $myTPOTCOMPOSE 2>&1>/dev/null ln -s /opt/tpot/etc/compose/sensor.yml $myTPOTCOMPOSE 2>&1>/dev/null
;; ;;
INDUSTRIAL) INDUSTRIAL)
echo "### Preparing INDUSTRIAL flavor installation." echo "### Preparing INDUSTRIAL flavor installation."
cp /opt/tpot/etc/compose/industrial.yml $myTPOTCOMPOSE 2>&1>/dev/null ln -s /opt/tpot/etc/compose/industrial.yml $myTPOTCOMPOSE 2>&1>/dev/null
;; ;;
COLLECTOR) COLLECTOR)
echo "### Preparing COLLECTOR flavor installation." echo "### Preparing COLLECTOR flavor installation."
cp /opt/tpot/etc/compose/collector.yml $myTPOTCOMPOSE 2>&1>/dev/null ln -s /opt/tpot/etc/compose/collector.yml $myTPOTCOMPOSE 2>&1>/dev/null
;; ;;
EXPERIMENTAL) EXPERIMENTAL)
echo "### Preparing EXPERIMENTAL flavor installation." echo "### Preparing EXPERIMENTAL flavor installation."
cp /opt/tpot/etc/compose/experimental.yml $myTPOTCOMPOSE 2>&1>/dev/null ln -s /opt/tpot/etc/compose/experimental.yml $myTPOTCOMPOSE 2>&1>/dev/null
;; ;;
LEGACY) LEGACY)
echo "### Preparing LEGACY flavor installation." echo "### Preparing LEGACY flavor installation."
cp /opt/tpot/etc/compose/legacy.yml $myTPOTCOMPOSE 2>&1>/dev/null ln -s /opt/tpot/etc/compose/legacy.yml $myTPOTCOMPOSE 2>&1>/dev/null
;; ;;
esac esac