Ubuntu Vm Image !!exclusive!! -
Here are a few options for the text development, depending on where you intend to use it (e.g., a website landing page, a technical guide, or a product description).
virt-install --name ubuntu-vm --memory 2048 --vcpus 2 --disk my-vm.qcow2 --import --cloud-init user-data=user-data.txt ubuntu vm image
Example ubuntu-22.04.pkr.hcl :