Update CirrOS and CentOS qcow2 image locations
This updates CentOS to 7.1 and CirrOS to 0.3.4 Change-Id: I0a9fb5ca33979c5c4f8e7d7acf23cf3bcfcb7eec
This commit is contained in:
parent
0156c46fee
commit
a2bbb0bd87
|
@ -185,9 +185,9 @@ default['openstack']['image']['upload_images'] = ['cirros']
|
|||
default['openstack']['image']['upload_image']['precise'] = 'http://cloud-images.ubuntu.com/precise/current/precise-server-cloudimg-amd64-disk1.img'
|
||||
default['openstack']['image']['upload_image']['oneiric'] = 'http://cloud-images.ubuntu.com/oneiric/current/oneiric-server-cloudimg-amd64-disk1.img'
|
||||
default['openstack']['image']['upload_image']['natty'] = 'http://cloud-images.ubuntu.com/natty/current/natty-server-cloudimg-amd64-disk1.img'
|
||||
default['openstack']['image']['upload_image']['cirros'] = 'http://download.cirros-cloud.net/0.3.2/cirros-0.3.2-x86_64-disk.img'
|
||||
default['openstack']['image']['upload_image']['cirros'] = 'http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img'
|
||||
# more images available at https://github.com/rackerjoe/oz-image-build
|
||||
default['openstack']['image']['upload_image']['centos'] = 'http://c250663.r63.cf1.rackcdn.com/centos60_x86_64.qcow2'
|
||||
default['openstack']['image']['upload_image']['centos'] = 'http://cloud.centos.org/centos/7/images/CentOS-7-x86_64-GenericCloud.qcow2'
|
||||
# To override image type
|
||||
# The following disk format types are supported: qcow vhd vmdk vdi iso raw
|
||||
# Bare container format will be used.
|
||||
|
|
|
@ -19,7 +19,7 @@ describe 'openstack-image::image_upload' do
|
|||
|
||||
it 'uploads the cirros image' do
|
||||
expect(chef_run).to upload_openstack_image_image('Image setup for cirros').with(
|
||||
image_url: 'http://download.cirros-cloud.net/0.3.2/cirros-0.3.2-x86_64-disk.img',
|
||||
image_url: 'http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img',
|
||||
image_name: 'cirros',
|
||||
image_type: 'qcow',
|
||||
image_public: true
|
||||
|
@ -34,10 +34,10 @@ describe 'openstack-image::image_upload' do
|
|||
|
||||
it 'uploads the tar image' do
|
||||
node.set['openstack']['image']['upload_images'] = ['imageName']
|
||||
node.set['openstack']['image']['upload_image']['imageName'] = 'http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz'
|
||||
node.set['openstack']['image']['upload_image']['imageName'] = 'http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-uec.tar.gz'
|
||||
stub_command('glance --insecure --os-username admin --os-password admin-pass --os-tenant-name admin --os-image-url http://127.0.0.1:9292 --os-auth-url http://127.0.0.1:5000/v2.0 image-list | grep imageName').and_return(false)
|
||||
expect(chef_run).to upload_openstack_image_image('Image setup for imageName').with(
|
||||
image_url: 'http://download.cirros-cloud.net/0.3.1/cirros-0.3.1-x86_64-uec.tar.gz',
|
||||
image_url: 'http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-uec.tar.gz',
|
||||
image_name: 'imageName',
|
||||
image_type: 'unknown',
|
||||
image_public: true
|
||||
|
|
Loading…
Reference in New Issue