From 0045629248cbb635b66cb729c17e9b71a8ecfcf7 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Thu, 11 Sep 2025 15:39:49 -0600 Subject: [PATCH] Add Servers/Virtualization/Proxmox/Create Cloud-Init Ubuntu Server Template.md --- .../Create Cloud-Init Ubuntu Server Template.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Servers/Virtualization/Proxmox/Create Cloud-Init Ubuntu Server Template.md diff --git a/Servers/Virtualization/Proxmox/Create Cloud-Init Ubuntu Server Template.md b/Servers/Virtualization/Proxmox/Create Cloud-Init Ubuntu Server Template.md new file mode 100644 index 0000000..355ca29 --- /dev/null +++ b/Servers/Virtualization/Proxmox/Create Cloud-Init Ubuntu Server Template.md @@ -0,0 +1,15 @@ +## Purpose +You may need to deploy many copies of a virtual machine rapidly, and don't want to go through the hassle of setting up everything ad-hoc as the needs arise for each VM workload. Creating a cloud-init template allows you to more rapidly deploy production-ready copies of a template VM (that you create below) into a ProxmoxVE environment. + +### Pull Down Ubuntu Server Cloud-Init Image +You will first need to pull down the OS image from Ubuntu's website via CLI, as there is currently no way to do this via the WebUI. Using SSH or the Shell within the WebUI of one of the ProxmoxVE servers, run the following commands to download and import the image into ProxmoxVE. +```sh +# Make a place to keep cloud images +mkdir -p /var/lib/vz/template/images/ubuntu && cd /var/lib/vz/template/images/ubuntu + +# Download Ubuntu 24.04 LTS cloud image (amd64, server) +wget -q --show-progress https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img + +# Import the disk into ProxmoxVE +qm importdisk 9000 noble-server-cloudimg-amd64.img nfs-cluster-storage +``` \ No newline at end of file