Skip to content

Instantly share code, notes, and snippets.

@peterschristoph
peterschristoph / pbs-playbook.yml
Created October 27, 2024 22:39
Ansible Configure Proxmox Backup Server PBS
---
- name: Configure Proxmox Backup Server (PBS)
hosts: localhost
connection: local
vars:
proxmox_pbs_api_url: "https://yourpbs.tld:8007/api2/json"
proxmox_pbs_username: "root@pam"
proxmox_pbs_password: "rootpassword"
proxmox_pbs_verify_ssl: true
zfs_pool_name: "your_zfs_and_datastore_name"
@peterschristoph
peterschristoph / create-vm.sh
Last active October 27, 2024 22:15
Proxmox create VM by Ubuntu 24 Cloud Image
#!/bin/bash
# username: root
# password: 123456
# resize of the file system is not necessary, this is apparently already done by cloud-init
# PLEASE CUSTOMIZE TO YOUR OWN NEEDS
wget https://cloud-images.ubuntu.com/releases/noble/release/ubuntu-24.04-server-cloudimg-amd64.img
qm create 105 \