mirror of
				https://github.com/telekom-security/tpotce.git
				synced 2025-10-31 12:32:55 +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\ | ||||
|     --az	          $az\ | ||||
|     --wait \ | ||||
| #2> /dev/null | ||||
| 2> /dev/null | ||||
| 
 | ||||
| if [ "$(uname)" == "Darwin" ]; then | ||||
|    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 "### NEW HOST $HPNAME ON IP $PUBIP" | ||||
| 
 | ||||
| #ansible-playbook -i ./hosts/$HPNAME ./ansible/install.yaml | ||||
| ansible-playbook -i ./hosts/$HPNAME ./ansible/install.yaml | ||||
| echo "***********************************************" | ||||
| echo "*****        SSH TO TARGET: " | ||||
| echo "*****        ssh linux@$PUBIP -p 64295" | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Sebastian Haderecker
						Sebastian Haderecker