Import Ubuntu 20.04 | Debian 10 Qcow2 image on OpenNebula

You can download this article in PDF format via the link below to support us.
Download the guide in PDF formatshut down

In this guide, we showed OpenNebula Cloud users how to import Ubuntu. Save the Debian Qcow2 OS image to the OpenNebula image data store. OpenNebula was created to help system administrators manage distributed data center infrastructure from a central console. In our latest guide, we introduced the import of CentOS 8 and CentOS 7 qcow2 OS images. This is a key step before actually creating a virtual machine on the OpenNebula Cloud environment.

You need to access the OpenNebula Sunstone Web console and have permission to write to the image data storage area. Before performing this operation, please confirm that the “Image Type” data storage is available. In my settings, the data store is named “default“.

Step 1: Get the URL of Ubuntu 20.04 | Debian 10 Qcow2 Images

You can choose to create your own custom Qcow2 image for any version of Ubuntu/Debian. In our guide, we will use publicly available cloud images from upstream development.

For Debian, please visit Debian 10 Qcow2 pictures Download the link and copy the URL path of the latest version.

# We'll use OpenStack Qcow2 image
https://cloud.debian.org/images/cloud/OpenStack/current/debian-10-openstack-amd64.qcow2

For Ubuntu 20.04 Qcow2 image, please visit Ubuntu 20.04 cloud image Download link:

https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64-disk-kvm.img

Step 2: Upload Debian | Ubuntu Qcow2 image to OpenNebula image data storage area

After obtaining the URL of the downloaded image or the locally built qcow2 image, log in to the OpenNebula Sunstone console.Install opennebula front end debian 10 01

Then go to “Store“>”image” section.Upload centos opennebula picture 01

Click”+“, then select “create“.Upload centos opennebula picture 02

Fill in the required values ​​required to create the image.

This is the populated value of my Ubuntu 20.04 image:

  • Picture name – Ubuntu20.04
  • illustrate- Ubuntu20.04 Qcow2 pictures
  • Image type- Operating system image
  • Data storage area for storing images – Default (image type data storage)
  • Image location-URL or upload from local disk-URL can be copied from the following location Ubuntu 20.04 cloud image
  • Optional advanced option-BUS driver (Vitio) And image mapping driver (qcow2)

Import ubuntu qcow2 image opennebula 01

You can add more settings that suit you, and then click “createPress the “” button when finished.Import ubuntu qcow2 image opennebula 02

The same process can be used to add a Debian 10 Qcow2 image:Import ubuntu qcow2 image opennebula 03

Please note that when images are added to the data storage area, they will be locked. Once added and ready for use, the status will change to “READY”.Import ubuntu qcow2 image opennebula 04

We have successfully uploaded Debian 10 and Ubuntu 20.04 Qcow2 OS images to the OpenNebula Image data storage. Check out the next article on how to create a VM template and actual virtual machine provisioning on the OpenNebula platform.

Create CentOS on OpenNebula | Ubuntu | Debian VM template

Similar articles:

Install OpenNebula KVM node on Debian

How to configure NFS file system as OpenNebula data storage

Create and use bridged network in OpenNebula VM

You can download this article in PDF format via the link below to support us.
Download the guide in PDF formatshut down

Sidebar