mirror of
https://github.com/telekom-security/tpotce.git
synced 2025-05-09 00:28:52 +00:00
Remove debugging
This commit is contained in:
parent
7ada64e16c
commit
d099b90b98
1 changed files with 2 additions and 2 deletions
|
@ -38,7 +38,7 @@ echo "### Creating new ECS host via OTC API..."
|
||||||
--disktype SATA\
|
--disktype SATA\
|
||||||
--az $az\
|
--az $az\
|
||||||
--wait \
|
--wait \
|
||||||
#2> /dev/null
|
2> /dev/null
|
||||||
|
|
||||||
if [ "$(uname)" == "Darwin" ]; then
|
if [ "$(uname)" == "Darwin" ]; then
|
||||||
PUBIP=$(./otc-tools/otc.sh ecs list 2>/dev/null | grep $HPNAME|cut -d "," -f2 |cut -d "\"" -f 2)
|
PUBIP=$(./otc-tools/otc.sh ecs list 2>/dev/null | grep $HPNAME|cut -d "," -f2 |cut -d "\"" -f 2)
|
||||||
|
@ -50,7 +50,7 @@ echo "[TPOT]" > ./hosts/$HPNAME
|
||||||
echo $PUBIP HPNAME=$HPNAME>> ./hosts/$HPNAME
|
echo $PUBIP HPNAME=$HPNAME>> ./hosts/$HPNAME
|
||||||
echo "### NEW HOST $HPNAME ON IP $PUBIP"
|
echo "### NEW HOST $HPNAME ON IP $PUBIP"
|
||||||
|
|
||||||
#ansible-playbook -i ./hosts/$HPNAME ./ansible/install.yaml
|
ansible-playbook -i ./hosts/$HPNAME ./ansible/install.yaml
|
||||||
echo "***********************************************"
|
echo "***********************************************"
|
||||||
echo "***** SSH TO TARGET: "
|
echo "***** SSH TO TARGET: "
|
||||||
echo "***** ssh linux@$PUBIP -p 64295"
|
echo "***** ssh linux@$PUBIP -p 64295"
|
||||||
|
|
Loading…
Reference in a new issue