From 4348440d54179a04dc9e257d4c9e1a68898c1fd1 Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Thu, 11 Sep 2025 16:10:58 -0600 Subject: [PATCH] Update Servers/Virtualization/Proxmox/Cloud-Init Templates/Ubuntu Server.md --- .../Cloud-Init Templates/Ubuntu Server.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/Servers/Virtualization/Proxmox/Cloud-Init Templates/Ubuntu Server.md b/Servers/Virtualization/Proxmox/Cloud-Init Templates/Ubuntu Server.md index 0f970dc..7602e79 100644 --- a/Servers/Virtualization/Proxmox/Cloud-Init Templates/Ubuntu Server.md +++ b/Servers/Virtualization/Proxmox/Cloud-Init Templates/Ubuntu Server.md @@ -54,4 +54,20 @@ qm set 9000 --sshkey /root/infrastructure_id_rsa.pub # Configure networking to use DHCP by default (this will be overridden at cloning) qm set 9000 --ipconfig0 ip=dhcp +# Convert the placeholder VM into a reusable template (ignore chattr errors on NFS storage backends) +qm template 9000 +``` + +### Deploy a New VM from Template +You can now create new VMs instantly from the template using “Full Clone” or “Linked Clone” depending on your storage type and needs. +```sh +# Create a new VM (example: VM 9100) cloned from the template +qm clone 9000 9100 --name ubuntu-2404-test --full + +# Optionally, override Cloud-Init settings for this clone: +qm set 9100 --ciuser nicole --cipassword 'AnotherStrongPass' +qm set 9100 --ipconfig0 ip=192.168.3.67/24,gw=192.168.3.1 + +# Boot the new cloned VM +qm start 9100 ``` \ No newline at end of file