~joeborg/juju-deployer/readme

« back to all changes in this revision

Viewing changes to tools/instance_start_all.sh

RebaseĀ onĀ parent

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/bash
2
 
 
3
 
echo " + Attempting to start all instances."
4
 
 
5
 
for i in $(nova list | grep SHUT | awk '{ print $2 }');do echo $i; nova start $i; done
 
1
#!/bin/bash -ex
 
2
for i in $(openstack server list | awk '/SHUTOFF/{ print $2 }');do openstack server start $i; done