Update the cirros version to "0.4.0"

Change-Id: I72cedc1f0fe49a59f6eb38269ca1264e3d37925c
This commit is contained in:
ZhongShengping
2018-01-04 10:37:15 +08:00
parent 259cd4e726
commit df5b0067d6
3 changed files with 6 additions and 6 deletions

View File

@@ -62,14 +62,14 @@ class openstack_integration::provision {
container_format => 'bare', container_format => 'bare',
disk_format => 'qcow2', disk_format => 'qcow2',
is_public => 'yes', is_public => 'yes',
source => '/tmp/openstack/image/cirros-0.3.5-x86_64-disk.img' source => '/tmp/openstack/image/cirros-0.4.0-x86_64-disk.img'
} }
glance_image { 'cirros_alt': glance_image { 'cirros_alt':
ensure => present, ensure => present,
container_format => 'bare', container_format => 'bare',
disk_format => 'qcow2', disk_format => 'qcow2',
is_public => 'yes', is_public => 'yes',
source => '/tmp/openstack/image/cirros-0.3.5-x86_64-disk.img' source => '/tmp/openstack/image/cirros-0.4.0-x86_64-disk.img'
} }
Keystone_user_role['admin@openstack'] -> Glance_image<||> Keystone_user_role['admin@openstack'] -> Glance_image<||>
} }

View File

@@ -248,7 +248,7 @@ class openstack_integration::tempest (
db_flavor_ref => '42', db_flavor_ref => '42',
image_ssh_user => 'cirros', image_ssh_user => 'cirros',
image_alt_ssh_user => 'cirros', image_alt_ssh_user => 'cirros',
img_file => 'cirros-0.3.5-x86_64-disk.img', img_file => 'cirros-0.4.0-x86_64-disk.img',
compute_build_interval => 10, compute_build_interval => 10,
ca_certificates_file => $::openstack_integration::params::ca_bundle_cert_path, ca_certificates_file => $::openstack_integration::params::ca_bundle_cert_path,
manage_tests_packages => true, manage_tests_packages => true,

View File

@@ -144,11 +144,11 @@ if [[ ! -e $IMG_DIR ]]; then
mkdir -p $IMG_DIR mkdir -p $IMG_DIR
fi fi
if [ -f ~/cache/files/cirros-0.3.5-x86_64-disk.img ]; then if [ -f ~/cache/files/cirros-0.4.0-x86_64-disk.img ]; then
# Create a symlink for tempest. # Create a symlink for tempest.
ln -s ~/cache/files/cirros-0.3.5-x86_64-disk.img $IMG_DIR ln -s ~/cache/files/cirros-0.4.0-x86_64-disk.img $IMG_DIR
else else
wget http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img -P $IMG_DIR wget http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img -P $IMG_DIR
fi fi
install_puppet install_puppet