Merge "Add image id to glance bootstrap for tempest test"

This commit is contained in:
Jenkins 2017-06-28 12:06:58 +00:00 committed by Gerrit Code Review
commit 9201234dc6
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ cd /tmp/images
openstack image show {{ .name | quote }} || \
{ curl -O {{ .source_url }}{{ .image_file }}; \
openstack image create {{ .name | quote }} \
{{ if .id -}} --id {{ .id }} {{ end -}} \
--min-disk {{ .min_disk }} \
--disk-format {{ .image_type }} \
--file {{ .image_file }} \

View File

@ -64,6 +64,7 @@ bootstrap:
enabled: true
images:
cirros:
id: null
name: "Cirros 0.3.5 64-bit"
source_url: "http://download.cirros-cloud.net/0.3.5/"
image_file: "cirros-0.3.5-x86_64-disk.img"