~andrewjbeach/juju-ci-tools/make-local-patcher

233.1.10 by Aaron Bentley
Manual provider almost working.
1
#!/bin/bash
2
set -eu
334.1.2 by Aaron Bentley
Use custom security group for manual tests.
3
RUN_OUTPUT=$(euca-run-instances -k id_rsa -t $INSTANCE_TYPE $AMI_IMAGE "$@")
233.1.10 by Aaron Bentley
Manual provider almost working.
4
if [ $? -ne 0 ]; then
5
  exit 1
6
fi
7
echo $RUN_OUTPUT|sed -r 's/.*INSTANCE (i-[^ ]*) .*/\1/'