copr: provision - install ethtool again
This one is fedora-copr-only hack, and as such the ethtool package isn't supposed to be put as Requires: into copr-builder. To not C&P between x86_64/ppc64le playbooks, put the ethtool hack into separate tasks file.
This commit is contained in:
parent
6d834e67c4
commit
b37182fcc8
3 changed files with 11 additions and 4 deletions
|
@ -50,5 +50,4 @@
|
|||
tasks:
|
||||
- include: "provision_builder_tasks.yml"
|
||||
|
||||
- name: disable offloading
|
||||
command: ethtool -K eth0 tso off gro off gso off
|
||||
- include: "offloading_hack.yml"
|
||||
|
|
|
@ -50,5 +50,4 @@
|
|||
tasks:
|
||||
- include: "provision_builder_tasks.yml"
|
||||
|
||||
- name: disable offloading
|
||||
command: ethtool -K eth0 tso off gro off gso off
|
||||
- include: "offloading_hack.yml"
|
||||
|
|
9
roles/copr/backend/files/provision/offloading_hack.yml
Normal file
9
roles/copr/backend/files/provision/offloading_hack.yml
Normal file
|
@ -0,0 +1,9 @@
|
|||
# TODO: is this still needed?
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1268192
|
||||
|
||||
- name: install ethtool
|
||||
package: state=present name=ethtool
|
||||
when: prepare_base_image
|
||||
|
||||
- name: disable offloading
|
||||
command: ethtool -K eth0 tso off gro off gso off
|
Loading…
Add table
Add a link
Reference in a new issue