Qemu kvm looking glass tutorial ubuntu

broken image

Download this 942Mb file to your “~/Downloads” directory.Ĭreate a snapshot so that we can branch from this disk image without affecting the parent.

broken image

We will use the CentOS generic cloud image called “ CentOS-7-x86_64-GenericCloud.qcow2“. PrerequisitesĪs a prerequisite for this article, you must install KVM and libvirt as described here.Īlso install additional packages needed to manage cloud-images: sudo apt-get install -y cloud-image-utils libosinfo-bin CentOS Cloud Image If you are instead looking for similar instructions for RHEL, see my other article.

broken image

This article will step through testing a guest CentOS 7 cloud image on KVM, from an Ubuntu Host. The ability to quickly stand up a guest OS with cloud-init is most often associated with deployment of virtual machines in an IaaS like EC2 or Azure.īut cloud-init is not just for remote cloud providers, and using cloud-init for local images that can be quickly deployed in KVM works great for local development and testing.

broken image