download images during install, tweaking

This commit is contained in:
t3chn0m4g3 2023-06-29 18:43:08 +02:00
parent 4c74690c41
commit 51154d7857

View file

@ -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."