Last active
November 22, 2025 07:37
-
-
Save mdpuma/e3ae793fc1eb02b0889df0c0e2fd6f53 to your computer and use it in GitHub Desktop.
proxmox snippers
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # reactivate lvm volume | |
| lvchange -ay pve/vm-100-disk-0 | |
| lvchange -prw pve/vm-100-disk-0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # add in to /etc/default/grub | |
| intremap=off |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # cat /etc/pve/status.cfg | |
| influxdb: grafana | |
| port 8089 | |
| server 185.181.228.6 | |
| mtu 1400 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # 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