Skip to content

Instantly share code, notes, and snippets.

View alexdelprete's full-sized avatar

Alessandro Del Prete alexdelprete

  • Rome, Italy
  • 10:25 (UTC +02:00)
View GitHub Profile
@maur5
maur5 / mk_ubuntu.sh
Created November 22, 2024 22:53
Ubuntu Noble (6.8.0-48) on Proxmox 8.2.7 (6.8.12-4-pve) cloud-init i915-sriov-dkms
#!/usr/bin/bash
set -e
# References
# https://gist.github.com/scyto/e4e3de35ee23fdb4ae5d5a3b85c16ed3?permalink_comment_id=5266674#gistcomment-5266674
# https://github.com/UntouchedWagons/Ubuntu-CloudInit-Docs
# https://github.com/bbaa-bbaa/i915-sriov-dkms
# note to self: proxmox needs tools to inject things apt install --no-install-recommends --no-install-suggests guestfs-tools
# current as of now - this can probably be automated based on the image version - maybe deal with it when it's time to update

Enable & Using vGPU Passthrough

This gist is almost entirely not unlike Derek Seaman's awesome blog:

Proxmox VE 8: Windows 11 vGPU (VT-d) Passthrough with Intel Alder Lake

As such please refer to that for pictures, here i will capture the command lines I used as i sequence the commands a little differently so it makes more logic to me.

This gists assumes you are not running ZFS and are not passing any other PCIE devices (as both of these can require addtional steps - see Derek's blog for more info)

This gist assumes you are not running proxmox in UEFI Secure boot - if you are please refer entirely to dereks blog.

THIS GIST IS NOW DEPRECATED NEW ONE IS AVAILABLE HERE I WONT BE UPDATING THIS ONE OR REPLYING TO COMMENTS ON THIS ONE (COMMENTS NOW DISABLED).

Enable Dual Stack (IPv4 and IPv6) OpenFabric Routing

this gist is part of this series

This assumes you are running Proxmox 8.2 and that the line source /etc/network/interfaces.d/* is at the end of the interfaces file (this is automatically added to both new and upgraded installations of Proxmox 8.2).

This changes the previous file design thanks to @NRGNet for the suggestions to move thunderbolt settings to a file in /etc/network/interfaces.d it makes the system much more reliable in general, more maintainable esp for folks using IPv4 on the private cluster network (i still recommend the use of the IPv6 FC00 network you will see in these docs)

Enable & Using vGPU Passthrough

This gist is almost entirely not unlike Derek Seaman's awesome blog:

Proxmox VE 8: Windows 11 vGPU (VT-d) Passthrough with Intel Alder Lake

As such please refer to that for pictures, here i will capture the command lines I used as i sequence the commands a little differently so it makes more logic to me.

This gists assumes you are not running ZFS and are not passing any other PCIE devices (as both of these can require addtional steps - see Derek's blog for more info)

This gist assumes you are not running proxmox in UEFI Secure boot - if you are please refer entirely to dereks blog.

@scyto
scyto / proxmox.md
Last active April 21, 2025 20:51
my proxmox cluster

ProxMox Cluster - Soup-to-Nutz

aka what i did to get from nothing to done.

note: these are designed to be primarily a re-install guide for myself (writing things down helps me memorize the knowledge), as such don't take any of this on blind faith - some areas are well tested and the docs are very robust, some items, less so). YMMV

Purpose of Proxmox cluster project

Required Outomces of cluster project

@jorisvervuurt
jorisvervuurt / opnsense-i226-nic-tunables.txt
Last active April 20, 2025 10:14
OPNsense - Intel i226 NIC tunables
<item>
<tunable>net.inet.icmp.drop_redirect</tunable>
<value>1</value>
<descr/>
</item>
<item>
<tunable>net.isr.bindthreads</tunable>
<value>1</value>
<descr/>
</item>
@krnbr
krnbr / zitadel-behind-traefik-notes.md
Created January 10, 2023 15:24
Pre-Existing Traefik, and add zitadel to it

Would like to share how to configure zitadel behind traefik that already existed.

Traefik's docker-compose.yml - the traefik related folder might be different from the docker-compose.yml of zitadel

# tfk/docker-compose.yml
version: '3'

services:
  traefik:
@jauderho
jauderho / Time Servers with NTS support.md
Last active October 15, 2024 16:25
A curated list of NTP time servers that support NTS
@TheGroundZero
TheGroundZero / shelly_config-all.sh
Created April 15, 2021 13:14
Simple loop using cURL to change the config of all Shellys in a network
# See docs on HTTP API
# https://shelly-api-docs.shelly.cloud/#settings
# Linux / Mac
for i in {2..254}; do curl -m 1 http://192.168.1.$i/settings?<setting parameters>; done
# Windows
# Note: use %% instead of % when saving this in a BATCH script (.bat)
FOR /L %I IN (2,1,254) DO curl -m 1 http://192.168.1.%I/settings?<setting parameters>
# --- EXAMPLES ---
@TerminalRootTV
TerminalRootTV / git-dir.sh
Created September 21, 2019 17:25
Clone Only a Git Subdirectory
#!/bin/bash
# author: Marcos Oliveira <terminalroot.com.br>
# describe: Clone Only a Git Subdirectory
# version: 1.0
# license: GNU GPLv3
if [[ "$(echo $LANG | cut -c 1-2)" != "pt" ]]; then
declare -x l=( "usage"
"Use this flag to inform the REPOSITORY, this option is not optional."