Skip to content

Instantly share code, notes, and snippets.

@mdpuma
Last active November 22, 2025 07:37
Show Gist options
  • Select an option

  • Save mdpuma/e3ae793fc1eb02b0889df0c0e2fd6f53 to your computer and use it in GitHub Desktop.

Select an option

Save mdpuma/e3ae793fc1eb02b0889df0c0e2fd6f53 to your computer and use it in GitHub Desktop.
proxmox snippers
# cat /etc/network/interfaces
auto vmbr0
iface vmbr0 inet manual
bridge-ports eno1
bridge-stp off
bridge-fd 0
bridge_vlan_aware yes
bridge_vids 610 # not supported multiple vlans, only range 2-4094
post-up bridge vlan add dev eno1 vid 610; bridge vlan add dev eno1 vid 802
auto vmbr0.610
iface vmbr0.610 inet static
address 10.6.0.8/24
gateway 10.6.0.1
# reactivate lvm volume
lvchange -ay pve/vm-100-disk-0
lvchange -prw pve/vm-100-disk-0
# add in to /etc/default/grub
intremap=off
# cat /etc/pve/status.cfg
influxdb: grafana
port 8089
server 185.181.228.6
mtu 1400
# cat /etc/rc.local
#!/bin/sh
# https://kris.io/2015/10/01/kvm-network-performance-tso-and-gso-turn-it-off/
ethtool -K eno1 gso off gro off tso off tx off
# same may be applied to KVM vm
rmmod acpi_power_meter
# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http://download.proxmox.com/debian/pve stretch pve-no-subscription
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment