~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-06-07 19:50:38 UTC
  • Revision ID: git-v1:a974eb71bd5a89062ff5a1899703ef22ba41852e
modified the onos deployment as per new process where charms were
downloaded first then deployment started.

Change-Id: I97711241121577200d1223764c84e91cc1be05cb
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