Skip to content

Instantly share code, notes, and snippets.

View mrimp's full-sized avatar
💭
I may be slow to respond.

mrimp mrimp

💭
I may be slow to respond.
  • La La Land
View GitHub Profile
Proxmox 7.1-12
$ apt-get update
$ apt-get install ethtool
$ ethtool -e eno1 offset 0x58 length 1
Offset Values
------ ------
0x0058: fc
$ ethtool -E ens106f0 magic 0x10FB8086 offset 0x58 value 0xfd length 1
@ilude
ilude / !proxmox_k3s_cluster.sh
Last active January 5, 2024 00:09
Proxmox k3s cluster creation scripts
#!/bin/bash
# curl -s https://gist.githubusercontent.com/ilude/457f2ef2e59d2bff8bb88b976464bb91/raw/cluster_create_setup.sh?$(date +%s) > ~/bin/setup_cluster.sh; chmod +x ~/bin/setup_cluster.sh; setup_cluster.sh
echo "begin cluster_create_setup.sh"
export CREATE_TEMPLATE=1 #false
while test $# -gt 0; do
case "$1" in
--template)
export CREATE_TEMPLATE=0 #true
@kaysond
kaysond / fanctl.sh
Last active June 1, 2024 17:26
Dell Poweredge R710 R720 Fan Noise Control Script
#!/usr/bin/env bash
#You'll need to enable IPMI over lan in idrac first
#iDRAC Settings -> Network -> IPMI Settings
#Channel Privilege Level Limit needs to be Administrator
#You may want to create a dedicated username/pass with IPMI permission in iDRAC Settings -> User Authentication
IPMIHOST=idracip
IPMIUSER=username
IPMIPW=password
IPMIEK=0000000000000000000000000000000000000000
@chriswayg
chriswayg / Ubuntu_Debian_Cloud_images_in_Proxmox.md
Last active July 25, 2024 13:34
Ubuntu and Debian Cloud images in Proxmox
@ruanbekker
ruanbekker / traefik_portainer.md
Last active June 11, 2024 20:08
Traefik with SSL + Portainer on Docker Swarm Repro

Traefik and Portainer on Docker Swarm with Letsencrypt

Reproducing a Traefik with SSL and Portainer setup on a 2 Node Docker Swarm

Install Docker:

Install Docker on both nodes with a Bootstrap Script:

$ curl https://gitlab.com/rbekker87/scripts/raw/master/setup-docker-ubuntu.sh | bash
@bognerf
bognerf / rsync.sh
Created June 28, 2013 11:43
Rsync between two Linux servers
DATUM=`date +%Y-%m-%d_%H-%M`
rsync --update -avW --delete-after --numeric-ids --stats -e "ssh -i /PATH/TO/.ssh/KEYFILE" /backup/ user@10.10.10.10:/raid/user/backup > /root/rsynclogs/rsync_$DATUM.log
# use --dry-run to simulate