Skip to content

Instantly share code, notes, and snippets.

@maurerle
maurerle / make-debian-cloudinit-template.sh
Last active May 25, 2026 21:25
Script to create a cloud-init debian VM template for Proxmox from a debian cloud image
#!/bin/bash
# makes a cloud-init template vm from URL
# call like ./make-debian-template.sh 9000
# Check for root priviliges
if [[ $EUID -ne 0 ]]; then
printf "Please run as root:\nsudo %s\n" "${0}"
exit 1
fi