22 lines
614 B
Django/Jinja
22 lines
614 B
Django/Jinja
# /etc/network/interfaces -- used by ifup(8) and ifdown(8)
|
|
#
|
|
# Include files from /etc/network/interfaces.d:
|
|
source /etc/network/interfaces.d/*
|
|
|
|
auto lo
|
|
iface lo inet loopback
|
|
|
|
auto vmbr0
|
|
iface vmbr0 inet static
|
|
address {{ proxmox_network_ip }}/{{ proxmox_network_cidr }}
|
|
gateway {{ proxmox_network_gateway }}
|
|
bridge-ports {{ proxmox_physical_nic }}
|
|
bridge-stp off
|
|
bridge-fd 0
|
|
# Your ethtool post-up line
|
|
post-up ethtool -K {{ proxmox_physical_nic }} tso off gso off
|
|
|
|
auto eno2
|
|
iface eno2 inet manual
|
|
# Your ethtool post-up line for eno2
|
|
post-up ethtool -K eno2 tso off gso off
|