|||

Proxmox notes

Cloud-Init

Download the cloud image. Create the vm and import the disk.

Ubuntu cloud image

wget https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img
VMNAME=ubuntu2004-cloud-template
VMID=8000
OSIMG=focal-server-cloudimg-amd64.img
qm create $VMID --memory 2048 --name $VMNAME --net0 virtio,bridge=vmbr0
qm importdisk $VMID $OSIMG local-lvm
qm set $VMID --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-$VMID-disk-0
qm set $VMID --ide2 local-lvm:cloudinit
qm set $VMID --boot c --bootdisk scsi0
qm set $VMID --serial0 socket --vga serial0

After running this, expand the disk and create a template from the new VM

Still need to test:

qm resize $VMID scsi0 +10G
qm template $VMID

Rocky cloud image

wget http://download.rockylinux.org/pub/rocky/8.5/images/Rocky-8-GenericCloud-8.5-20211114.2.x86_64.qcow2
VMNAME=rocky85-cloud-template
VMID=8001
OSIMG=Rocky-8-GenericCloud-8.5-20211114.2.x86_64.qcow2
qm create $VMID --memory 2048 --name $VMNAME --net0 virtio,bridge=vmbr0
qm importdisk $VMID $OSIMG local-lvm
qm set $VMID --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-$VMID-disk-0
qm set $VMID --ide2 local-lvm:cloudinit
qm set $VMID --boot c --bootdisk scsi0
qm set $VMID --serial0 socket --vga serial0
Up next Meow Wolf If you go. Go as early as possible. It get’s crazy busy around 3pm. I definitely recommend getting a Q-pass and the “Barsk & Solden alternative Recommended Tech 2022 Updating this for 2022… Password Protection Web Browsers Laptops Desktops Antivirus VPN Entertainment Linux vim Use a password manager. Use
Latest posts Recommended Tech 2022 Proxmox Notes Meow Wolf Financial Notes Welding Notes Cast a URL to a Chromecast Email List System Design Cards About Music, Finding the good stuff. “Richie Pan’s America” Font Zines shirt designs Now Learning Graphical Design Python Notes Deploy to a Remote Docker registry DMented 'zine for DM's and Character Sheets for Players Online Security Find Notes Honda Rebel 300 Notes Samba Notes Things worth noting My Software Friends Favorites Recommended Tech Elasticsearch Notes Book Notes APRS Notes vim notes Nmap Notes