~narindergupta/opnfv/stable-R2

« back to all changes in this revision

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

  • Committer: zhangyuanyou
  • Date: 2016-01-02 08:55:55 UTC
  • Revision ID: git-v1:9d5ca8b6a6c9e33a5f8318483ad940eb9918819d
JOID-18 Juju integration with ONOSFW.

Change-Id: Iaffdb78ceb5a4c1a57fce3459289c65d6b6a4f42

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