proxmox ansible bootstrapping
This commit is contained in:
parent
2d1a363a50
commit
bdf3bc6b02
20 changed files with 481 additions and 4 deletions
22
roles/networking/templates/interface.j2
Normal file
22
roles/networking/templates/interface.j2
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
# /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
|
||||
Loading…
Add table
Add a link
Reference in a new issue