Update Servers/Virtualization/Proxmox/Cloud-Init Templates/Ubuntu Server.md
All checks were successful
GitOps Automatic Deployment / GitOps Automatic Deployment (push) Successful in 9s

This commit is contained in:
2025-09-11 16:10:58 -06:00
parent 907714d740
commit 4348440d54

View File

@@ -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
```