Pcornel
Virtualization · VM Templates

Cloud Image

Cheat sheet · https://pcornel.dk/topic.php?topic=3560

Back to the Topic

Answer

A cloud image is a small, prebuilt OS disk (qcow2, VMDK or VHD) published by distributions for virtualization and cloud use. It boots without an installer and is configured on first boot by cloud-init.

Remember

  • Resize the disk after import; images are small.
  • Cloud images have no default password; use keys via cloud-init.

First checks

  • qemu-img info <cloud>.qcow2 — cloud image format
  • virt-customize -a <img> --root-password password:... — customize offline
  • qm importdisk <vmid> <img> <storage> — import (Proxmox)

Verify in this order

cloud image → import disk → cloud-init → VM

Where it usually breaks

First mismatch in guest/app quiescence → hypervisor snapshot/template task → metadata/backing chain → storage durability → restore/clone read-back; preserve identity/native error/pre-state before mutation.

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3560

Confirmation

Confirm action

Continue?