From baa729402469673703c0632710f21cf75f68149a Mon Sep 17 00:00:00 2001 From: Sebastian Haderecker Date: Fri, 5 Apr 2019 06:38:15 +0000 Subject: [PATCH] Moved imagename to ecs settings --- cloud/.ecs_settings.sh | 1 + cloud/deploy_ansible_otc_t-pot.sh | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cloud/.ecs_settings.sh b/cloud/.ecs_settings.sh index 48091e7a..9915cff9 100644 --- a/cloud/.ecs_settings.sh +++ b/cloud/.ecs_settings.sh @@ -3,6 +3,7 @@ linuxpass=LiNuXuSeRPaSs# # Set ECS related stuff instance=s2.medium.8 +imagename=Standard_Debian_9_latest subnet=your-subnet vpcname=your-vpc secgroup=your-sg diff --git a/cloud/deploy_ansible_otc_t-pot.sh b/cloud/deploy_ansible_otc_t-pot.sh index 6c5ddf08..8f4c7366 100755 --- a/cloud/deploy_ansible_otc_t-pot.sh +++ b/cloud/deploy_ansible_otc_t-pot.sh @@ -27,7 +27,7 @@ echo "### Creating new ECS host via OTC API..." ./otc-tools/otc.sh ecs create \ --instance-type $instance\ --instance-name $HPNAME\ - --image-name Standard_Debian_9_latest\ + --image-name $imagename\ --subnet-name $subnet\ --vpc-name $vpcname\ --security-group-name $secgroup\