~ya-bo-ng/juju-gui/bottom-bar-removed

« back to all changes in this revision

Viewing changes to bin/find-latest-image.sh

  • Committer: j.c.sackett
  • Date: 2013-05-21 16:30:38 UTC
  • mfrom: (678 trunk)
  • mto: (663.4.5 spinners)
  • mto: This revision was merged to the branch mainline in revision 679.
  • Revision ID: jcsackett@canonical.com-20130521163038-d0tips6q0f5al317
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#/bin/sh
 
2
 
 
3
# This file is part of the Juju GUI, which lets users view and manage Juju
 
4
# environments within a graphical interface (https://launchpad.net/juju-gui).
 
5
# Copyright (C) 2012-2013 Canonical Ltd.
 
6
#
 
7
# This program is free software: you can redistribute it and/or modify it under
 
8
# the terms of the GNU Affero General Public License version 3, as published by
 
9
# the Free Software Foundation.
 
10
#
 
11
# This program is distributed in the hope that it will be useful, but WITHOUT
 
12
# ANY WARRANTY; without even the implied warranties of MERCHANTABILITY,
 
13
# SATISFACTORY QUALITY, or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 
14
# Affero General Public License for more details.
 
15
#
 
16
# You should have received a copy of the GNU Affero General Public License
 
17
# along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
18
 
 
19
source ~/.canonistack/novarc
 
20
nova --no-cache image-list |grep ubuntu-precise-12.04-amd64-server |tail -1 |awk '{print $2}'