~narindergupta/opnfv/stable-R2

« back to all changes in this revision

Viewing changes to ci/opencontrail/cloud-sh-contrail/glance.sh

  • Committer: Narinder Gupta
  • Date: 2015-08-29 19:36:03 UTC
  • Revision ID: git-v1:b5c5f74a35b7c2a3413bfac94811d8e6035aa3ae
restructure the directory structure so that we can have directories per
SDN and then we can have same structure for new distro by adding just
the yaml file. Deleted the old file structure.

Change-Id: Ibd544c340fdb53813bc34ee8ff6931ed4b4dee6c
JIRA:JOID-1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
 
 
3
. ~/admin-openrc
 
4
 
 
5
wget http://cloud-images.ubuntu.com/trusty/current/MD5SUMS
 
6
 
 
7
wget http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img
 
8
glance image-create --name ubuntu-trusty-daily --disk-format qcow2 --container-format bare --owner admin --file trusty-server-cloudimg-amd64-disk1.img --checksum $(grep trusty-server-cloudimg-amd64-disk1.img MD5SUMS | cut -d " " -f 1) --is-public True