KVM¶
The KVM provider creates virtual images for Linux Kernel-based Virtual Machines. It supports the installation of virtio kernel modules (paravirtualized drivers for IO operations). It also supports creating an image with LVM and qcow2 as a disk backend.
Manifest settings¶
Provider¶
virtio: Specifies which virtio kernel modules to install.optionalconsole: Specifies which console should be used for stdout and stderr of init process to show startup messages and act as a console in single-user mode. Regardless of this setting output of kernel messages generated byprintk()and seen bydmesggoes to both virtual and serial console. Valid options:`virtual`or`serial`(default).optionallogicalvolume: Specifies the logical volume where the disk image will be built.volumegroup: Specifies the volume group where the logical volume will be stored. These options should only be used iflvmwas given as a disk backend.
Example:
---
provider:
name: kvm
virtio:
- virtio_blk
- virtio_net
console: virtual
volume:
backing: lvm
logicalvolume: lvtest
volumegroup: vgtest