Posted on Leave a comment

ISO images for KVM machines

When getting started with KVM virtual machines, one common question is how do I get ISO image files used to install the operating systems in the virtual machines. The default location that Libvirt uses as a storage pool for KVM virtual machines is the /var/lib/libvirt/images/ directory. You will need to download the ISO files using a command such as wget. Find the URL of the ISO from from the vendor, for example http://releases.ubuntu.com/18.04.1/ubuntu-18.04.1-live-server-amd64.iso.

You will need to switch your user account to the root user:

sudo su

Navigate to the /var/lib/libvirt/images/ directory:

cd /var/lib/libvirt/images/

Use wget to download the file:

wget http://releases.ubuntu.com/18.04.1/ubuntu-18.04.1-live-server-amd64.iso

The ISO file will now show up in VMDashboard.

Leave a Reply

Your email address will not be published.