Largely taken from this tutorial, which was hilariously out of date
sudo apt install haproxy
| #!/bin/bash | |
| file="/tmp/count.csv" | |
| echo "datetime,commit,lines" > "${file}" | |
| for i in $(git log --pretty='%ct:%H'); do | |
| d=$(echo "${i}"|cut -f1 -d':') | |
| c=$(echo "${i}"|cut -f2 -d':') |
| #!/bin/bash | |
| models=( | |
| "switch-enterprise-8-poe" | |
| "usw-enterprise-24-poe" | |
| "usw-enterprise-48-poe" | |
| "usp-rps" | |
| ) | |
| do_check () { |
| #!/bin/bash | |
| ip="" | |
| ping="NO" | |
| dns=() | |
| timeout=1 | |
| while [[ $# -gt 0 ]]; do | |
| case $1 in | |
| -p|--ping) |
Largely taken from this tutorial, which was hilariously out of date
sudo apt install haproxy
Have an issue where Proxmox, on boot, fails to set the default route. It is set in the config (file and UI), and changing the gateway and applying will set the default route, so something's getting mixed up here. So hopefully this fixes it.
Replace 172.17.25.1 with your gateway, and vlan25 with the correct interface.
file: /usr/local/bin/fix-default-route.sh
Instructions to setup a dedicated rendering LXC for Jellyfin. Useful for running Jellyfin in a VM and without passing through the whole iGPU, instead passing off to LXCs, allowing using more than one Proxmox host in the cluster for rendering.
This is the result of a project to PXE-boot a diskless desktop backed by a Ceph cluster.
Initially, the plan was to use CephFS for both / (root) and /boot, with /boot
accessible by the PXE server to be able to streamline updates to the initrd and kernel
from the OS. While /boot is still on CephFS, / was moved to an RBD image, using
namespaces for permissions.