Templates

spetrillo

Member
Feb 15, 2024
241
12
18
Hello all,

Is there a decent guide for creating templates from scratch? I may have missed it but I have not found one for Proxmox v8. If an older one works could you point me to it.

Thanks,
Steve
 
You can always use one of the official templates:
https://cloud-images.ubuntu.com/

Or use one of the many guides returned on this search: "ubuntu golden image"
I.e.:
https://ubuntu.com/tutorials/how-to...0-04-fips-with-azure-image-builder#1-overview
https://williamlam.com/2023/04/buil...cker-examples-for-vmware-vsphere-project.html
https://ubuntu.com/blog/tag/golden-image
https://askubuntu.com/questions/152...olden-image-for-mass-flashing-iot-edge-device
https://github.com/TechByTheNerd/cloud-image-for-proxmox

While there are some cloud-specific steps, overall process is very similar. There are no PVE specific steps that you should be concerned about.


Cheers


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: Johannes S
Hey @bbgeek17 ,

If you use the cloud images can you deploy them, update them with what you need, and then re-create a new cloud image for deployment?

Steve
 
If you use the cloud images can you deploy them, update them with what you need, and then re-create a new cloud image for deployment?
There are ways to do so, certainly. The technically correct way would be to create a process that builds your own image from the beginning.
Tools like Packer can do it end to end. You'd simply update Packer configuration file and rebuild the image.

But, as your asked, there are ways to modify an existing Cloud Image directly , ie
https://earlruby.org/2023/02/quickly-create-guest-vms-using-virsh-cloud-image-files-and-cloud-init/

You could also use CloudInit to add additional packages.

There are many different ways to achieve the same result in Linux.



Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
 
  • Like
Reactions: Johannes S