From bd7f3bd80753a0039218e171695b0c9fc7c7520d Mon Sep 17 00:00:00 2001 From: Nicole Rappe Date: Thu, 11 Sep 2025 16:20:40 -0600 Subject: [PATCH] Update Servers/Virtualization/Proxmox/Cloud-Init Templates/Ubuntu Server.md --- .../Proxmox/Cloud-Init Templates/Ubuntu Server.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/Servers/Virtualization/Proxmox/Cloud-Init Templates/Ubuntu Server.md b/Servers/Virtualization/Proxmox/Cloud-Init Templates/Ubuntu Server.md index 7602e79..6a2db4b 100644 --- a/Servers/Virtualization/Proxmox/Cloud-Init Templates/Ubuntu Server.md +++ b/Servers/Virtualization/Proxmox/Cloud-Init Templates/Ubuntu Server.md @@ -11,10 +11,11 @@ mkdir -p /var/lib/vz/template/images/ubuntu && cd /var/lib/vz/template/images/ub wget -q --show-progress https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img # Create a Placeholder VM to Attach Cloud Image -qm create 9000 --name ubuntu-2404-cloud --memory 2048 --cores 2 --net0 virtio,bridge=vmbr0 +qm create 9000 --name ubuntu-2404-cloud --memory 8192 --cores 8 --net0 virtio,bridge=vmbr0 # Set UEFI (OVMF) + SCSI controller (Cloud images expect UEFI firmware and SCSI disk.) qm set 9000 --bios ovmf --scsihw virtio-scsi-pci +qm set 9000 --efidisk0 nfs-cluster-storage:0,pre-enrolled-keys=1 # Import the disk into ProxmoxVE qm importdisk 9000 noble-server-cloudimg-amd64.img nfs-cluster-storage --format qcow2 @@ -44,6 +45,13 @@ qm set 9000 --ciuser nicole # Set a default password (this will be resettable per-clone) qm set 9000 --cipassword 'SuperSecretPassword' +# Set DNS Servers and Search Domain +qm set 9000 --nameserver "1.1.1.1 1.0.0.1" +qm set 9000 --searchdomain bunny-lab.io + +# Enable automatic package upgrades within the VM on first boot +qm set 9000 --ciupgrade 1 + # Download your infrastructure public SSH key onto the Proxmox node wget -O /root/infrastructure_id_rsa.pub \ https://git.bunny-lab.io/Infrastructure/LinuxServer_SSH_PublicKey/raw/branch/main/id_rsa.pub