~andrewjbeach/juju-ci-tools/get-juju-dict

« back to all changes in this revision

Viewing changes to ec2-run-instance-get-id

  • Committer: Aaron Bentley
  • Date: 2014-03-31 20:38:20 UTC
  • mto: This revision was merged to the branch mainline in revision 337.
  • Revision ID: aaron.bentley@canonical.com-20140331203820-5571x6313j268zu7
Use custom security group for manual tests.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash
2
2
set -eu
3
 
RUN_OUTPUT=$(euca-run-instances -k id_rsa -t $INSTANCE_TYPE $AMI_IMAGE)
 
3
RUN_OUTPUT=$(euca-run-instances -k id_rsa -t $INSTANCE_TYPE $AMI_IMAGE "$@")
4
4
if [ $? -ne 0 ]; then
5
5
  exit 1
6
6
fi