copr: disable offloading in the nmconnection keyfile
The old network script is deprecated, please see /etc/sysconfig/network-scripts/readme-ifcfg-rh.txt You can check that the settings are correct with ethtool -k eth0 | egrep 'tcp-segmentation-offload: |generic-receive-offload: |generic-segmentation-offload: '
This commit is contained in:
parent
60f6342682
commit
83c20f9aeb
1 changed files with 2 additions and 1 deletions
|
@ -81,7 +81,8 @@
|
|||
when: offloading.rc == 0
|
||||
|
||||
- name: disable offloading (persitently)
|
||||
lineinfile: dest=/etc/sysconfig/network-scripts/ifcfg-eth0 backup=yes state=present line='ETHTOOL_OPTS="-K ${DEVICE} tso off gro off gso off"'
|
||||
shell: "nmcli con modify 'cloud-init eth0' ethtool.feature-tso off ethtool.feature-gro off ethtool.feature-gso off"
|
||||
when: offloading.rc == 0
|
||||
tags:
|
||||
- config
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue