Merge "Add image id to glance bootstrap for tempest test"
This commit is contained in:
commit
9201234dc6
@ -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 }} \
|
||||
|
@ -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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user