mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-07-01 20:42:11 +00:00
download images during install, tweaking
This commit is contained in:
parent
4c74690c41
commit
51154d7857
1 changed files with 6 additions and 1 deletions
|
@ -65,7 +65,7 @@ case $myCURRENT_DISTRIBUTION in
|
||||||
"openSUSE Tumbleweed")
|
"openSUSE Tumbleweed")
|
||||||
sudo zypper refresh
|
sudo zypper refresh
|
||||||
sudo zypper install -y ${myPACKAGES}
|
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
|
source /etc/profile.d/ansible.sh
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -102,6 +102,11 @@ echo "### Ansible will ask for the ‘BECOME password‘ which is typically the
|
||||||
echo
|
echo
|
||||||
ANSIBLE_LOG_PATH=$PWD/install_tpot.log ansible-playbook ${myANSIBLE_TPOT_PLAYBOOK} -i 127.0.0.1, -c local ${myANSIBLE_BECOME_OPTION}
|
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
|
# Done and show running services
|
||||||
sudo grc netstat -tulpen
|
sudo grc netstat -tulpen
|
||||||
echo "Please review for possible honeypot port conflicts."
|
echo "Please review for possible honeypot port conflicts."
|
||||||
|
|
Loading…
Reference in a new issue