~ggouzi/obinstall/obinstall

« back to all changes in this revision

Viewing changes to demos/openstack/icehouse/trusty/automated-deploy.sh

  • Committer: MMorana
  • Date: 2016-03-24 01:18:40 UTC
  • Revision ID: mass@ubuntu.com-20160324011840-blxydmf7ca4ggle0
Splitting out demos from install

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
#Canonical Micro-Cluster auto-deployment bootstrap to tenant juju-gui
3
 
set -e #-x for debugging output
4
 
 
5
 
start=`date`
6
 
orange-box-bootstrap-juju trusty
7
 
until (juju pprint | grep juju-gui | grep started) ; do
8
 
             sleep 10
9
 
         done
10
 
./01-deploy.sh
11
 
sleep 60
12
 
../../orange-box-configure-openstack
13
 
sleep 60
14
 
source ~/nova.rc
15
 
until (glance image-list | grep Precise | grep active) ; do
16
 
             sleep 10
17
 
         done
18
 
until (glance image-list | grep Trusty | grep active) ; do
19
 
             sleep 10
20
 
         done
21
 
../../orange-box-launch-openstack-juju
22
 
end=`date`
23
 
 
24
 
echo "Deployment started: $start"
25
 
echo "Deployment completed: $end"
26