diff --git a/configuration/launchhudsonslave b/configuration/launchhudsonslave index 71dcf06e6e8..cf8a2f6c3d7 100755 --- a/configuration/launchhudsonslave +++ b/configuration/launchhudsonslave @@ -1,8 +1,8 @@ #!/bin/bash AWS=/root/.local/bin/aws REGION=eu-west-1 -#HUDSON_SLAVE_AMI_ID=ami-04956fe5a5293da6f -HUDSON_SLAVE_AMI_ID=ami-0251a199f8d4a4729 +#HUDSON_SLAVE_AMI_ID=ami-0251a199f8d4a4729 +HUDSON_SLAVE_AMI_ID=ami-05c12a89e3371ba45 echo Launching instance... instanceid=`$AWS ec2 run-instances --image-id $HUDSON_SLAVE_AMI_ID --count 1 --instance-type c5d.4xlarge --key-name Axel --security-groups "Sailing Analytics App" --region $REGION --tag-specifications 'ResourceType=instance,Tags=[{Key=Name,Value=Hudson Ubuntu Slave}]' --instance-initiated-shutdown-behavior terminate | tee /tmp/slavelaunch.out | jq .Instances[0].InstanceId | sed -e 's/"//g'` if [ "$instanceid" = "" ]; then