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

Subscribers

People subscribed via source and target branches