profile image

Patrick Priestley

Husband, Father, Engineering Leader, and Tech Enthusiast

How to create a cloud-init template VM in Proxmox

Setting up Step 1: Create the Virtual Machine Use the Proxmox Web UI or CLI to create the base VM using these recommended settings. In this case, I’m using ubuntu server. Web UI: General: VM ID: Set to a unique value (e.g., 900). Name: ubuntu-cloud-template. OS: ISO Image: Select the uploaded OS installer ISO (e.g., ubuntu-20.04-server.iso). Guest OS Type: Linux. Version: Choose the appropriate version (e.g., Ubuntu 20.04). System: BIOS: OVMF (UEFI) or SeaBIOS (default)....

December 2, 2024 · 3 min · 499 words

How to resize an ubuntu vm disk in proxmox

Changes within the Proxmox VM UI Shutdown VM Go to VM Go to Hardware Select Hard Disk From the top nav, select Disk Action then Resize Enter the amount you want to increase the disk by Start the VM Changes within the Ubuntu VM ssh into VM run cfdisk (free space should be available) select disk to resize select Resize and Enter select Write and Enter hit Q to quit Run sudo resize2fs /dev/vda2 (replace /dev/vda2 with correct disk name) Confirm changes by running df -h

November 14, 2024 · 1 min · 86 words