Fix CirrOS image default configuration and switch to 5.1 version

- set image format to 'qcow2'
- set password to 'gocubsgo'
- switch to version 5.1

Change-Id: I4fb2e22be35f0de7376065ee5c34308ba998db30
This commit is contained in:
Federico Ressi 2020-09-24 10:30:29 +02:00
parent 3de7d71e3c
commit 97b757fc1c

View File

@ -22,7 +22,7 @@ from tobiko.shell import sh
CONF = config.CONF
CIRROS_IMAGE_VERSION = '0.4.0'
CIRROS_IMAGE_VERSION = '0.5.1'
CIRROS_IMAGE_URL = (
'http://download.cirros-cloud.net/{version}/'
@ -35,9 +35,9 @@ class CirrosImageFixture(glance.URLGlanceImageFixture):
image_name = CONF.tobiko.cirros.image_name
image_file = CONF.tobiko.cirros.image_file
container_format = CONF.tobiko.cirros.container_format or "bare"
disk_format = CONF.tobiko.cirros.disk_format or "raw"
disk_format = CONF.tobiko.cirros.disk_format or "qcow2"
username = CONF.tobiko.cirros.username or 'cirros'
password = CONF.tobiko.cirros.password or 'cubswin:)'
password = CONF.tobiko.cirros.password or 'gocubsgo'
class CirrosFlavorStackFixture(_nova.FlavorStackFixture):