From 51154d78570b6668eab4a3ad1cca69aff119598b Mon Sep 17 00:00:00 2001 From: t3chn0m4g3 Date: Thu, 29 Jun 2023 18:43:08 +0200 Subject: [PATCH] download images during install, tweaking --- install.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/install.sh b/install.sh index adc9b923..aef0f0dd 100755 --- a/install.sh +++ b/install.sh @@ -65,7 +65,7 @@ case $myCURRENT_DISTRIBUTION in "openSUSE Tumbleweed") sudo zypper refresh sudo zypper install -y ${myPACKAGES} - echo "export ANSIBLE_PYTHON_INTERPRETER=/bin/python3" | sudo tee -a /etc/profile.d/ansible.sh >/dev/null + echo "export ANSIBLE_PYTHON_INTERPRETER=/bin/python3" | sudo tee /etc/profile.d/ansible.sh >/dev/null source /etc/profile.d/ansible.sh ;; esac @@ -102,6 +102,11 @@ echo "### Ansible will ask for the ‘BECOME password‘ which is typically the echo ANSIBLE_LOG_PATH=$PWD/install_tpot.log ansible-playbook ${myANSIBLE_TPOT_PLAYBOOK} -i 127.0.0.1, -c local ${myANSIBLE_BECOME_OPTION} +# Pull docker images +echo "### Now pulling images ..." +docker compose -f /home/$(whoami)/tpotce/docker-compose.yml pull +echo + # Done and show running services sudo grc netstat -tulpen echo "Please review for possible honeypot port conflicts."