bootstrap-vz/bootstrapvz/providers/kvm/manifest-schema.yml
Brendan Harley cc69173e52 Add qcow2 as a disk backend for KVM
This allows to build an image with qcow2 as a disk backend.

The update implements a new class that inherits from QEMUVolume and just
needs the extention and file format.
2017-06-16 15:54:51 +02:00

50 lines
941 B
YAML

---
$schema: http://json-schema.org/draft-04/schema#
title: KVM manifest
type: object
properties:
provider:
type: object
properties:
virtio:
type: array
items:
type: string
enum:
- virtio
- virtio_pci
- virtio_balloon
- virtio_blk
- virtio_net
- virtio_ring
minItems: 1
system:
type: object
properties:
bootloader:
type: string
enum:
- grub
- extlinux
- none
volume:
type: object
properties:
backing:
type: string
enum:
- qcow2
- raw
- lvm
logicalvolume: {type: string}
volumegroup: {type: string}
partitions:
type: object
properties:
type:
type: string
enum:
- none
- msdos
- gpt
required: [backing]