mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-23 02:15:17 +00:00
tests: Fix installing kernel module in Fedora
`uname -m` will show the machine hardware name. Signed-off-by: Wen Liang <liangwen12year@gmail.com>
This commit is contained in:
parent
eab5cccfcc
commit
55e953099a
2 changed files with 2 additions and 2 deletions
|
|
@ -48,7 +48,7 @@
|
|||
- name: Install mac80211_hwsim kernel modules in Fedora
|
||||
shell: |
|
||||
dnf -y install koji
|
||||
koji download-build --arch=$(uname -p) kernel-modules-internal-$(uname -r)
|
||||
koji download-build --arch=$(uname -m) kernel-modules-internal-$(uname -r)
|
||||
dnf -y install kernel-modules*.rpm
|
||||
when:
|
||||
- ansible_distribution == 'Fedora'
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@
|
|||
- name: Install mac80211_hwsim kernel module in Fedora
|
||||
shell: |
|
||||
dnf -y install koji
|
||||
koji download-build --arch=$(uname -p) kernel-modules-internal-$(uname -r)
|
||||
koji download-build --arch=$(uname -m) kernel-modules-internal-$(uname -r)
|
||||
dnf -y install kernel-modules*.rpm
|
||||
when:
|
||||
- ansible_distribution == 'Fedora'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue