~smoser/ubuntu-server-ec2-testing/fixes

Viewing all changes in revision 28.

  • Committer: Scott Moser
  • Date: 2011-10-13 16:19:20 UTC
  • Revision ID: smoser@ubuntu.com-20111013161920-30o5rirkd7nzybzb
terminate instance with boto.ec2.instance.terminate()

apparently, with the version of boto that was in natty (1.9b-1ubuntu5)
boto.ec2.instance.stop() would terminate an instance.
In oneiric (2.0-0ubuntu1) that does a 'stop'.

Both versions have a 'boto.ec2.instance.terminate()' method, so
this change just uses that.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: