SSH into your Proxmox server or use the shell from the web interface
Download a cloud-init enabled image. For example, to download Ubuntu 22.04:
wget <https://cloud-images.ubuntu.com/jammy/current/jammy-server-cloudimg-amd64.img>