Merge lp:~dweaver/orange-box/orange-box-add-destroy-juju into lp:orange-box

Proposed by Darryl Weaver
Status: Merged
Merged at revision: 410
Proposed branch: lp:~dweaver/orange-box/orange-box-add-destroy-juju
Merge into: lp:orange-box
Diff against target: 33 lines (+28/-0)
1 file modified
usr/bin/orange-box-destroy-juju (+28/-0)
To merge this branch: bzr merge lp:~dweaver/orange-box/orange-box-add-destroy-juju
Reviewer Review Type Date Requested Status
Dustin Kirkland  Pending
Review via email: mp+228925@code.launchpad.net

Description of the change

Set execute bit on orange-box-bootstrap-juju
Add orange-box-destroy-juju.

Generic bootstrap and destroy scripts for all demos.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'usr/bin/orange-box-bootstrap-juju' (properties changed: -x to +x)
=== added file 'usr/bin/orange-box-destroy-juju'
--- usr/bin/orange-box-destroy-juju 1970-01-01 00:00:00 +0000
+++ usr/bin/orange-box-destroy-juju 2014-07-30 18:36:22 +0000
@@ -0,0 +1,28 @@
1#!/bin/bash
2#
3# orange-box-destroy-juju
4# Copyright (C) 2014 Canonical Ltd.
5#
6# Authors: Darryl Weaver <darryl.weaver@canonical.com>
7#
8# This program is free software: you can redistribute it and/or modify
9# it under the terms of the GNU General Public License as published by
10# the Free Software Foundation, version 3 of the License.
11#
12# This program is distributed in the hope that it will be useful,
13# but WITHOUT ANY WARRANTY; without even the implied warranty of
14# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15# GNU General Public License for more details.
16#
17# You should have received a copy of the GNU General Public License
18# along with this program. If not, see <http://www.gnu.org/licenses/>.
19
20
21ENVIRONMENT=`juju env`
22
23#Destroy everything
24juju destroy-environment $ENVIRONMENT
25export AMT_PASSWORD=Password1+
26for i in $(seq 11 19); do
27 yes | amttool 10.14.4.$i powerdown >/dev/null 2>&1
28done

Subscribers

People subscribed via source and target branches