====== Proxmox ======
===== Storage =====
[[https://u335095.your-storagebox.de/template/iso/|Hetzner ISO Storage]]
===== Network =====
source /etc/network/interfaces.d/*
auto lo
iface lo inet loopback
iface lo inet6 loopback
auto enp6s0
iface enp6s0 inet manual
auto vmbr0
iface vmbr0 inet static
address IP/NETMASK
gateway GATEWAY
bridge-ports enp6s0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4092
iface vmbr0 inet6 static
address IP6
netmask 64
gateway GATEWAY6
auto vmbr0.4010
iface vmbr0.4010 inet static
address 10.192.0.12/24
mtu 1400
up ip route add 10.0.0.0/8 via 10.192.0.1
down ip route delete 10.0.0.0/8 via 10.192.0.1
auto vmbr0.4020
iface vmbr0.4020 inet static
address 10.192.20.12/24
mtu 1400
iface vmbr0.4020 inet6 static
address 2a01:4f8:221:445e::12
netmask 64
auto vmbr0.4040
iface vmbr0.4040 inet static
address 10.192.40.12/24
mtu 1400
===== KSM =====
Installation
apt install ksmtuned
KSM_SLEEP_MSEC=100
KSM_THRES_COEF=50
Enable
systemctl enable ksmtuned
systemctl start ksmtuned
Check if greater then 0
cat /sys/kernel/mm/ksm/pages_shared
===== FAQ =====
Unlock VM
qm unlock