Skip to content

Instantly share code, notes, and snippets.

@nleiva
Created July 10, 2018 14:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nleiva/4a57c206899659c10348fdf14e84e07d to your computer and use it in GitHub Desktop.
Save nleiva/4a57c206899659c10348fdf14e84e07d to your computer and use it in GitHub Desktop.
for i in 0 1 2; do
declare controller_id${i}=`aws ec2 run-instances \
# ...
--private-ip-address 10.240.0.1${i} \
# ...
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment