Skip to content
This repository has been archived by the owner on Jul 16, 2020. It is now read-only.

Commit

Permalink
ciao-cli: Update examples to use explicit source image
Browse files Browse the repository at this point in the history
Rather that rely on the implicit creation of a storage resource derived
from the image_id update the examples to make it explicit how to specify
an image source.

Signed-off-by: Rob Bradford <[email protected]>
  • Loading branch information
rbradford committed Jan 18, 2017
1 parent 310ea9a commit 055c2d8
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
7 changes: 6 additions & 1 deletion ciao-cli/examples/fedora_cloud.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
description: "Fedora VM no storage"
vm_type: qemu
fw_type: legacy
image_id: "73a86d7e-93c0-480e-9c41-ab42f69b7799"
defaults:
vcpus: 2
mem_mb: 512
disk_mb: 1024
cloud_init: fedora_vm.yaml
disks:
- source:
service: image
id: "73a86d7e-93c0-480e-9c41-ab42f69b7799"
ephemeral: true
bootable: true
6 changes: 5 additions & 1 deletion ciao-cli/examples/fedora_cloud_disk.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,16 @@
description: "Fedora VM with attached empty storage"
vm_type: qemu
fw_type: legacy
image_id: "73a86d7e-93c0-480e-9c41-ab42f69b7799"
defaults:
vcpus: 2
mem_mb: 512
disk_mb: 1024
cloud_init: "fedora_vm.yaml"
disks:
- source:
service: image
id: "73a86d7e-93c0-480e-9c41-ab42f69b7799"
bootable: true
ephemeral: true
- size: 20
ephemeral: true

0 comments on commit 055c2d8

Please sign in to comment.