update finding OTRF images, regex typo

updates_os_and_scripts
neu5ron 2020-01-25 10:33:55 -05:00
parent f557e8da02
commit 7aee053352
1 changed files with 1 additions and 1 deletions

View File

@ -113,7 +113,7 @@ if [ $? -ne 0 ]; then
fi
echo -e "${CYAN}${HELK_INFO_TAG}${STD} Removing all images..."
docker rmi "$(docker images -a | awk '{ print $1,$3 }' | grep 'otrf|cyb3rward0g\|helk\|logstash\|kibana\|elasticsearch\|cp-ksql' | awk '{ print $2 }')" >> $LOGFILE 2>&1
docker rmi "$(docker images -a | awk '{ print $1,$3 }' | grep 'otrf\|cyb3rward0g\|helk\|logstash\|kibana\|elasticsearch\|cp-ksql' | awk '{ print $2 }')" >> $LOGFILE 2>&1
#TODO: eventually give prompt for removing Elastic/Confluent components as user may be using those for other things on their system
ERROR=$?
if [ $ERROR -ne 0 ]; then