Skip to content

Instantly share code, notes, and snippets.

@venkatamutyala
venkatamutyala / setup-proxmox-cloud-init-debian.sh
Last active January 30, 2025 03:41
Shell script to create a cloud-init VM template in proxmox using debian 12 generic cloud qcow2
#!/usr/bin/env bash
## ref:https://www.youtube.com/watch?v=UQaCrByk53E
wget https://cloud.debian.org/images/cloud/bookworm/20250115-1993/debian-12-genericcloud-amd64-20250115-1993.qcow2
qm create 6000 --name debian-12-cloud-init --net0 virtio,bridge=vmbr0
qm importdisk 6000 debian-12-genericcloud-amd64-20250115-1993.qcow2 local-lvm
qm set 6000 --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-6000-disk-0
qm set 6000 --ide2 local-lvm:cloudinit
qm set 6000 --boot c --bootdisk scsi0
qm set 6000 --serial0 socket --vga serial0

Keybase proof

I hereby claim:

  • I am venkatamutyala on github.
  • I am venkatamutyala (https://keybase.io/venkatamutyala) on keybase.
  • I have a public key ASCcRwEgR5Q1XmyiwnWb99uwRrmj1VsGfnSEAig7S-o6nAo

To claim this, I am signing this object: