From 687299ba6081abb7c41b983dc103222552b57de6 Mon Sep 17 00:00:00 2001 From: Sebastian Haderecker Date: Mon, 13 May 2019 22:46:10 +0200 Subject: [PATCH 1/2] Fixed changelog order --- CHANGELOG.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1da7edd0..b250d7f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## 20190513 +- **Added Ansible T-Pot Deployment on Open Telekom Cloud** + - Reusable Ansible Playbooks for all cloud providers + - Example Showcase with our Open Telekom Cloud + ## 20190511 - **Add hptest script** - Quickly test if the honeypots are working with `hptest.sh <[ip,host]>` based on nmap. @@ -33,8 +38,3 @@ - If T-Pot, opposed to the requirements, does not have full internet access netselect-apt fails to determine the fastest mirror as it needs ICMP and UDP outgoing. Should netselect-apt fail the default mirrors will be used. - **Improve install speed with apt-fast** - Migrating from a stable base install to Debian (Sid) requires downloading lots of packages. Depending on your geo location the download speed was already improved by introducing netselect-apt to determine the fastest mirror. With apt-fast the downloads will be even faster by downloading packages not only in parallel but also with multiple connections per package. - -## 20190421 -- **Added Ansible T-Pot Deployment on Open Telekom Cloud** - - Reusable Ansible Playbooks for all cloud providers - - Example Showcase with our Open Telekom Cloud From 6710d6e6988d4a70e8c99c5726bf7792b5a58b97 Mon Sep 17 00:00:00 2001 From: Sebastian Haderecker Date: Tue, 14 May 2019 14:04:15 +0000 Subject: [PATCH 2/2] Print error message on wrong API credentials --- cloud/open-telekom-cloud/deploy_ansible_otc_t-pot.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cloud/open-telekom-cloud/deploy_ansible_otc_t-pot.sh b/cloud/open-telekom-cloud/deploy_ansible_otc_t-pot.sh index b1d352a9..072ce0e1 100755 --- a/cloud/open-telekom-cloud/deploy_ansible_otc_t-pot.sh +++ b/cloud/open-telekom-cloud/deploy_ansible_otc_t-pot.sh @@ -109,7 +109,9 @@ if [ $? -eq 0 ]; then else - if grep 'Flavor' otc_tools.log > /dev/null; then + if grep '401 Unauthorized' otc_tools.log > /dev/null; then + echo "### API username or password is incorrect" + elif grep 'Flavor' otc_tools.log > /dev/null; then echo "### Specified ECS Flavor not found" elif grep 'No image found by name' otc_tools.log > /dev/null; then echo "### Specified Image not found"