adfinis / ansible-roles

This Git repository is deprecated, there is a Git repository per role.
https://docs.adfinis-sygroup.ch/public/ansible-guide/
GNU General Public License v3.0
6 stars 6 forks source link

network: don't set sysctl rules for vnet* devices, they change to often #58

Closed keachi closed 6 years ago

keachi commented 6 years ago

Each kvm hypervisor has for each VM some vnet* devices. We are not interested in setting net.ipv6.conf.vnet0.accept_ra=0 and net.ipv6.conf.vnet0.autoconf=0 sysctl values, they would change to often. This patch will exclude all ^vnet\d+ devices from sysctl configuration.