From 9d5ca8b6a6c9e33a5f8318483ad940eb9918819d Mon Sep 17 00:00:00 2001 From: zhangyuanyou Date: Thu, 31 Dec 2015 12:02:15 +0800 Subject: JOID-18 Juju integration with ONOSFW. Change-Id: Iaffdb78ceb5a4c1a57fce3459289c65d6b6a4f42 --- ci/onos/juju-deployer/scripts/glance.sh | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 ci/onos/juju-deployer/scripts/glance.sh (limited to 'ci/onos/juju-deployer/scripts/glance.sh') diff --git a/ci/onos/juju-deployer/scripts/glance.sh b/ci/onos/juju-deployer/scripts/glance.sh new file mode 100644 index 00000000..a18afe6c --- /dev/null +++ b/ci/onos/juju-deployer/scripts/glance.sh @@ -0,0 +1,9 @@ +#!/bin/sh -e + +. ~/admin-openrc + +wget -P /tmp/images http://download.cirros-cloud.net/0.3.3/cirros-0.3.3-x86_64-disk.img +wget -P /tmp/images http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img +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 +glance image-create --name "ubuntu-trusty-daily" --file /tmp/images/trusty-server-cloudimg-amd64-disk1.img --disk-format qcow2 --container-format bare --progress +rm -rf /tmp/images -- cgit 1.2.3-korg