Skip to content

Instantly share code, notes, and snippets.

View masterjanic's full-sized avatar

Janic masterjanic

View GitHub Profile
@masterjanic
masterjanic / create-templates.sh
Created January 11, 2024 21:52
A bash script to create many different VM templates across multiple distros for Proxmox VE.
#!/bin/bash
# Sources using Openstack images
declare -A sources
declare -A template_ids
declare -A result_ids
template_ids["debian"]=9000
template_ids["ubuntu"]=9100
template_ids["almalinux"]=9200