Skip to content

Instantly share code, notes, and snippets.

View alexdelprete's full-sized avatar

Alessandro Del Prete alexdelprete

  • Rome, Italy
  • 09:58 (UTC +01:00)
View GitHub Profile
FROM ubuntu:22.04 AS builder
# Install essential tools and dependencies (excluding libfdk-aac-dev)
RUN --mount=type=cache,target=/var/cache/apt --mount=type=cache,target=/var/lib/apt/lists \
apt-get update && \
apt-get install -y --no-install-recommends ca-certificates wget sed git && \
sed -i 's/main$/main universe multiverse/' /etc/apt/sources.list && \
apt-get update && \
apt-get install -y --no-install-recommends \
autoconf \
@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 guide has moved

The maintained version now lives at [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).](https://scyto.github.io/homelab-docs/proxmox/thunderbolt/openfabric-mesh-legacy/), part of scyto/homelab-docs — searchable, cross-linked, and easier to keep current.

This gist stays put so the comments below remain readable — there is a lot of useful troubleshooting in them. For corrections, please open a PR or issue on the repo.


@scyto
scyto / proxmox.md
Last active November 1, 2026 09:31
my proxmox cluster
@jorisvervuurt
jorisvervuurt / opnsense-i226-nic-tunables.txt
Last active November 25, 2025 21:33
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 28, 2026 01:58
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 ---