Skip to content

Instantly share code, notes, and snippets.

Proxmox VE tips

Just some tips I gathered over time. All in one easily reachable place so I can share it wherever I want.

Please note that unless you see a shebang (#!/...) these code blocks are usually meant to be copy & pasted directly into the shell. Some of the steps will not work if you run part of them in a script and copy paste other ones as they rely on variables set before.
The { and } surrounding some scripts are meant to avoid poisoning your bash history with individual commands, etc. You can ignore them if you manually copy paste the individual commands.
I chose to write things "in the open" that way so there's still some control and things don't become a black box.

Table of contents

@Mikesco3
Mikesco3 / checkmk docker-compose file
Last active August 2, 2022 22:53 — forked from satoshishop/checkmk docker-compose file
Updated Docker compose with my own definitions
# docker-compose.yml
version: '3.6'
services:
check-mk-raw:
container_name: checkmkraw
image: checkmk/check-mk-raw:2.1.0-latest
tmpfs:
- /opt/omd/sites/cmk/tmp:uid=1000,gid=1000
ulimits:
@Mikesco3
Mikesco3 / remote_syncoid_as_unprivilleged_user_README.md
Last active March 22, 2022 07:33 — forked from csarn/README.md
ZFS pull backup with minimal permissions

Usage

1. On system that should be backed up

create a user called zfsbackup

useradd zfsbackup --create-home --system
mkdir -p /home/zfsbackup/{.ssh,.local/bin}
chown zfsbackup:zfsbackup /home/zfsbackup --recursive

add a restricted list of commands allowed by this user