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:
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.
Then go to “Store“>”image” section.
Click”+“, then select “create“.
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)
You can add more settings that suit you, and then click “createPress the “” button when finished.
The same process can be used to add a Debian 10 Qcow2 image:
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”.
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
Install OpenNebula KVM node on Debian
How to configure NFS file system as OpenNebula data storage
Create and use bridged network in OpenNebula VM