Update the CirrOS image to 0.4.0.
Both CirrOS releases 0.3.4 and 0.3.5 are inconsistently used. Now all sample scenarios will use the latest stable 0.4.0 release. The image_location setting has also been converted into a Jinja template variable. Change-Id: Ic2ea83329d9fe774a5a666c4e988487ef502ce7f Closes-Bug: 1751322
This commit is contained in:
parent
234ead2ead
commit
7c5a5d62a7
@ -1,8 +1,9 @@
|
||||
{% set image_location = image_location or "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img" %}
|
||||
{
|
||||
"GlanceImages.create_and_deactivate_image": [
|
||||
{
|
||||
"args": {
|
||||
"image_location": "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img",
|
||||
"image_location": "{{ image_location }}",
|
||||
"container_format": "bare",
|
||||
"disk_format": "qcow2"
|
||||
},
|
||||
|
@ -1,8 +1,9 @@
|
||||
{% set image_location = image_location or "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img" %}
|
||||
---
|
||||
GlanceImages.create_and_deactivate_image:
|
||||
-
|
||||
args:
|
||||
image_location: "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img"
|
||||
image_location: "{{ image_location }}"
|
||||
container_format: "bare"
|
||||
disk_format: "qcow2"
|
||||
runner:
|
||||
|
@ -1,8 +1,9 @@
|
||||
{% set image_location = image_location or "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img" %}
|
||||
{
|
||||
"GlanceImages.create_and_delete_image": [
|
||||
{
|
||||
"args": {
|
||||
"image_location": "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img",
|
||||
"image_location": "{{ image_location }}",
|
||||
"container_format": "bare",
|
||||
"disk_format": "qcow2"
|
||||
},
|
||||
|
@ -1,8 +1,9 @@
|
||||
{% set image_location = image_location or "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img" %}
|
||||
---
|
||||
GlanceImages.create_and_delete_image:
|
||||
-
|
||||
args:
|
||||
image_location: "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img"
|
||||
image_location: "{{ image_location }}"
|
||||
container_format: "bare"
|
||||
disk_format: "qcow2"
|
||||
runner:
|
||||
|
@ -1,8 +1,9 @@
|
||||
{% set image_location = image_location or "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img" %}
|
||||
{
|
||||
"GlanceImages.create_and_download_image": [
|
||||
{
|
||||
"args": {
|
||||
"image_location": "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img",
|
||||
"image_location": "{{ image_location }}",
|
||||
"container_format": "bare",
|
||||
"disk_format": "qcow2"
|
||||
},
|
||||
|
@ -1,8 +1,9 @@
|
||||
{% set image_location = image_location or "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img" %}
|
||||
---
|
||||
GlanceImages.create_and_download_image:
|
||||
-
|
||||
args:
|
||||
image_location: "http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img"
|
||||
image_location: "{{ image_location }}"
|
||||
container_format: "bare"
|
||||
disk_format: "qcow2"
|
||||
runner:
|
||||
|
@ -1,8 +1,9 @@
|
||||
{% set image_location = image_location or "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img" %}
|
||||
{
|
||||
"GlanceImages.create_and_get_image": [
|
||||
{
|
||||
"args": {
|
||||
"image_location": "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img",
|
||||
"image_location": "{{ image_location }}",
|
||||
"container_format": "bare",
|
||||
"disk_format": "qcow2"
|
||||
},
|
||||
|
@ -1,8 +1,9 @@
|
||||
{% set image_location = image_location or "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img" %}
|
||||
---
|
||||
GlanceImages.create_and_get_image:
|
||||
-
|
||||
args:
|
||||
image_location: "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img"
|
||||
image_location: "{{ image_location }}"
|
||||
container_format: "bare"
|
||||
disk_format: "qcow2"
|
||||
runner:
|
||||
|
@ -1,8 +1,9 @@
|
||||
{% set image_location = image_location or "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img" %}
|
||||
{
|
||||
"GlanceImages.create_and_list_image": [
|
||||
{
|
||||
"args": {
|
||||
"image_location": "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img",
|
||||
"image_location": "{{ image_location }}",
|
||||
"container_format": "bare",
|
||||
"disk_format": "qcow2"
|
||||
},
|
||||
|
@ -1,8 +1,9 @@
|
||||
{% set image_location = image_location or "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img" %}
|
||||
---
|
||||
GlanceImages.create_and_list_image:
|
||||
-
|
||||
args:
|
||||
image_location: "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img"
|
||||
image_location: "{{ image_location }}"
|
||||
container_format: "bare"
|
||||
disk_format: "qcow2"
|
||||
runner:
|
||||
|
@ -1,8 +1,9 @@
|
||||
{% set image_location = image_location or "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img" %}
|
||||
{
|
||||
"GlanceImages.create_and_update_image": [
|
||||
{
|
||||
"args": {
|
||||
"image_location": "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img",
|
||||
"image_location": "{{ image_location }}",
|
||||
"container_format": "bare",
|
||||
"disk_format": "qcow2"
|
||||
},
|
||||
|
@ -1,8 +1,9 @@
|
||||
{% set image_location = image_location or "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img" %}
|
||||
---
|
||||
GlanceImages.create_and_update_image:
|
||||
-
|
||||
args:
|
||||
image_location: "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img"
|
||||
image_location: "{{ image_location }}"
|
||||
container_format: "bare"
|
||||
disk_format: "qcow2"
|
||||
runner:
|
||||
|
@ -1,13 +1,14 @@
|
||||
{% set flavor_name = flavor_name or "m1.tiny" %}
|
||||
{% set image_location = image_location or "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img" %}
|
||||
{
|
||||
"GlanceImages.create_image_and_boot_instances": [
|
||||
{
|
||||
"args": {
|
||||
"image_location": "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img",
|
||||
"image_location": "{{ image_location }}",
|
||||
"container_format": "bare",
|
||||
"disk_format": "qcow2",
|
||||
"flavor": {
|
||||
"name": "{{flavor_name}}"
|
||||
"name": "{{ flavor_name }}"
|
||||
},
|
||||
"number_instances": 2
|
||||
},
|
||||
|
@ -1,13 +1,14 @@
|
||||
{% set flavor_name = flavor_name or "m1.tiny" %}
|
||||
{% set image_location = image_location or "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img" %}
|
||||
---
|
||||
GlanceImages.create_image_and_boot_instances:
|
||||
-
|
||||
args:
|
||||
image_location: "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img"
|
||||
image_location: "{{ image_location }}"
|
||||
container_format: "bare"
|
||||
disk_format: "qcow2"
|
||||
flavor:
|
||||
name: "{{flavor_name}}"
|
||||
name: "{{ flavor_name }}"
|
||||
number_instances: 2
|
||||
runner:
|
||||
type: "constant"
|
||||
|
@ -1,3 +1,4 @@
|
||||
{% set image_location = image_location or "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img" %}
|
||||
{
|
||||
"GlanceImages.list_images": [
|
||||
{
|
||||
@ -12,7 +13,7 @@
|
||||
"users_per_tenant": 2
|
||||
},
|
||||
"images": {
|
||||
"image_url": "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img",
|
||||
"image_url": "{{ image_location }}",
|
||||
"disk_format": "qcow2",
|
||||
"container_format": "bare",
|
||||
"images_per_tenant": 4
|
||||
|
@ -1,3 +1,4 @@
|
||||
{% set image_location = image_location or "http://download.cirros-cloud.net/0.4.0/cirros-0.4.0-x86_64-disk.img" %}
|
||||
---
|
||||
GlanceImages.list_images:
|
||||
-
|
||||
@ -10,7 +11,7 @@
|
||||
tenants: 2
|
||||
users_per_tenant: 2
|
||||
images:
|
||||
image_url: "http://download.cirros-cloud.net/0.3.5/cirros-0.3.5-x86_64-disk.img"
|
||||
image_url: "{{ image_location }}"
|
||||
disk_format: "qcow2"
|
||||
container_format: "bare"
|
||||
images_per_tenant: 4
|
||||
|
Loading…
Reference in New Issue
Block a user