From eec8af5a745a28db1bcccb51f5cff22ef88dee42 Mon Sep 17 00:00:00 2001 From: Chris Ricker Date: Mon, 3 Feb 2014 05:58:52 -0800 Subject: [PATCH] test_nova.sh uses old cirros images Update test_nova.sh to download Cirros 0.3.1 for config_drive support, and for consistency with the other Cirros image downloads within this module. Change-Id: Ic022c0199d254c3cadb08ccda1ef588fd3f09c35 Closes-Bug: #1275746 --- templates/test_nova.sh.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/test_nova.sh.erb b/templates/test_nova.sh.erb index c9842ac..092efaf 100644 --- a/templates/test_nova.sh.erb +++ b/templates/test_nova.sh.erb @@ -6,10 +6,10 @@ source <%= @rc_file_path %> <% if @image_type == 'cirros' -%> # Grab an image. Cirros is a nice small Linux that's easy to deploy -wget --quiet https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img +wget --quiet http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-disk.img # Add it to glance so that we can use it in Openstack -glance add name='cirros image' is_public=true container_format=bare disk_format=qcow2 < cirros-0.3.0-x86_64-disk.img +glance add name='cirros image' is_public=true container_format=bare disk_format=qcow2 < cirros-0.3.1-x86_64-disk.img # Caputre the Image ID so taht we can call the right UUID for this image IMAGE_ID=`glance index | grep 'cirros image' | head -1 | awk -F' ' '{print $1}'`