mirror of
https://github.com/JamesTurland/JimsGarage.git
synced 2024-11-25 01:10:22 +00:00
.. | ||
readme.md |
- Download the ISO using the GUI (tested on https://cloud-images.ubuntu.com/lunar/current/lunar-server-cloudimg-amd64-disk-kvm.img)
- Create the VM via CLI
qm create 5000 --memory 2048 --core 2 --name ubuntu-cloud --net0 virtio,bridge=vmbr0
cd var/lib/vz/template/iso/
qm importdisk 5000 lunar-server-cloudimg-amd64-disk-kvm.img nvme
qm set 5000 --scsihw virtio-scsi-pci --scsi0 nvme:vm-5000-disk-0
qm set 5000 --ide2 nvme:cloudinit
qm set 5000 --boot c --bootdisk scsi0
qm set 5000 --serial0 socket --vga serial0
- Expand the VM disk size to a suitable size
- Create the Cloud-Init template
- Deploy new VMs by clonding the template (full clone)