Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: b0c676fca7
Fetching contributors…

Cannot retrieve contributors at this time

executable file 30 lines (25 sloc) 0.934 kB
#
# Copyright 2010 Adam Dobos
#
# This file is part of Grindie.
#
# Grindie is free software: you can redistribute it and/or modify
# it under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# Grindie is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU Lesser General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with Grindie. If not, see <http://www.gnu.org/licenses/>.
#
#!/bin/sh
. ./common.sh
echo -e "\nTerminating EC2 instances"
ec2-terminate-instances `cat settings/cloud.instances |cut -f2` > ec2-terminate-instances.out 2> ec2-terminate-instances.err
check_ret
echo -e "Done.\n"
exit 0
Jump to Line
Something went wrong with that request. Please try again.