~narindergupta/opnfv/stable-R2

« back to all changes in this revision

Viewing changes to ci/odl/juju-deployer/scripts/glance.sh

  • Committer: Narinder Gupta
  • Date: 2016-07-27 14:32:35 UTC
  • Revision ID: git-v1:adb9288685ac205decce04a1d8eba4c9989bcc48
adding script to enable juju on openstack.

Change-Id: If259c8ad3530cc8d67499d406bd96abdd98b46f0
Signed-off-by: Narinder Gupta <narinder.gupta@canonical.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
 
 
3
. ~/admin-openrc
 
4
 
 
5
wget -P /tmp/images http://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img
 
6
wget -P /tmp/images http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img
 
7
glance image-create --name "cirros-0.3.3-x86_64" --file /tmp/images/cirros-0.3.3-x86_64-disk.img --disk-format qcow2 --container-format bare --progress
 
8
glance image-create --name "ubuntu-trusty-daily" --file /tmp/images/trusty-server-cloudimg-amd64-disk1.img --disk-format qcow2 --container-format bare --progress
 
9
rm -rf /tmp/images