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
This commit is contained in:
parent
66ff261dff
commit
eec8af5a74
@ -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}'`
|
||||
|
Loading…
Reference in New Issue
Block a user