Image repository / KubeVirt images / ubuntu-24.04
- Version
- 202611.14.0
- Released
- 2026-11-14
- Architecture
- amd64
- qcow2 size
- 593 MB
Run it from the containerdisk
The quickest way to a running VM. The root disk is ephemeral: it is recreated from the image each time the VM starts. Replace the SSH key with your own.
apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
name: ubuntu-24-04
spec:
runStrategy: Always
template:
spec:
domain:
cpu:
cores: 1
memory:
guest: 2Gi
devices:
disks:
- name: rootdisk
disk:
bus: virtio
- name: cloudinit
disk:
bus: virtio
interfaces:
- name: default
masquerade: {}
networks:
- name: default
pod: {}
volumes:
- name: rootdisk
containerDisk:
image: quay.io/cloudsoe/ubuntu-24.04:202611.14.0
- name: cloudinit
cloudInitNoCloud:
userData: |
#cloud-config
ssh_authorized_keys:
- ssh-ed25519 AAAA... [email protected] kubectl apply -f ubuntu-24-04.yaml
kubectl get vmi ubuntu-24-04 --watch
virtctl ssh ubuntu@vm/ubuntu-24-04 The image has no password. cloud-init adds your key to the default ubuntu user.
On OpenShift, use oc in place of kubectl.
Import it to a persistent disk
With the Containerized Data Importer (CDI, included in OpenShift Virtualization), a
DataVolume downloads the qcow2 into a PersistentVolumeClaim of the size you
ask for. The root filesystem grows to fill it on first boot.
apiVersion: kubevirt.io/v1
kind: VirtualMachine
metadata:
name: ubuntu-24-04
spec:
runStrategy: Always
dataVolumeTemplates:
- metadata:
name: ubuntu-24-04-root
spec:
source:
http:
url: https://boxes.cloudsoe.com/kubevirt/ubuntu-24.04/202611.14.0/ubuntu-24.04-amd64.qcow2
storage:
resources:
requests:
storage: 20Gi
template:
spec:
domain:
cpu:
cores: 1
memory:
guest: 2Gi
devices:
disks:
- name: rootdisk
disk:
bus: virtio
- name: cloudinit
disk:
bus: virtio
interfaces:
- name: default
masquerade: {}
networks:
- name: default
pod: {}
volumes:
- name: rootdisk
dataVolume:
name: ubuntu-24-04-root
- name: cloudinit
cloudInitNoCloud:
userData: |
#cloud-config
ssh_authorized_keys:
- ssh-ed25519 AAAA... [email protected] Keep a golden image up to date
A DataImportCron polls the latest tag and imports each new build
into a PVC, published as a DataSource that VMs can clone from. On OpenShift,
create it in the openshift-virtualization-os-images namespace to keep it with
the other boot sources.
apiVersion: cdi.kubevirt.io/v1beta1
kind: DataImportCron
metadata:
name: cloudsoe-ubuntu-24-04
spec:
schedule: "0 3 * * 1"
managedDataSource: cloudsoe-ubuntu-24-04
garbageCollect: Outdated
importsToKeep: 2
template:
spec:
source:
registry:
url: docker://quay.io/cloudsoe/ubuntu-24.04:latest
storage:
resources:
requests:
storage: 20Gi The CDI guide shows how to clone a VM from the resulting DataSource.
Files and verification
| Format | Location | Checksum |
|---|---|---|
| containerdisk | quay.io/cloudsoe/ubuntu-24.04:202611.14.0 also tagged :latest | sha256:448ee9b20a67b02450e5c17507e8a8c440d6d91b8ad69609326496e458de669c |
| qcow2 | ubuntu-24.04-amd64.qcow2 593 MB | sha256:04e8f2461a16a44e78a370284471f29616cdd9baf1893df25807b71f985b6c94 |
For a reproducible deployment, reference the containerdisk by digest instead of by tag:
quay.io/cloudsoe/ubuntu-24.04@sha256:448ee9b20a67b02450e5c17507e8a8c440d6d91b8ad69609326496e458de669c Check a downloaded qcow2 against its published checksum:
curl -LO https://boxes.cloudsoe.com/kubevirt/ubuntu-24.04/202611.14.0/ubuntu-24.04-amd64.qcow2
curl -LO https://boxes.cloudsoe.com/kubevirt/ubuntu-24.04/202611.14.0/ubuntu-24.04-amd64.qcow2.sha256
sha256sum -c ubuntu-24.04-amd64.qcow2.sha256 Source image: https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img
KubeVirt is a trademark of The Linux Foundation. OpenShift is a trademark of Red Hat. Ubuntu is a trademark of its owner. CloudSOE is not affiliated with or endorsed by them.