🐞 fix(DPISDN-17): Fix OFED install err

Fix OFED install err
This commit is contained in:
songyanchao
2023-08-28 23:33:50 -04:00
committed by linxin
parent af9229eccc
commit d5948d1f2a
3 changed files with 7 additions and 7 deletions

View File

@@ -69,8 +69,8 @@ mrzcpd_rpm_version:
mrzcpd-znver1: mrzcpd-znver1-4.6.56.95de63f
mrzcpd-corei7: mrzcpd-corei7-4.6.56.95de63f
mlnx_ofed_kernel_only_rpm_version:
mlnx_ofed_kernel_only: mlnx-ofed-kernel-only-all-5.17.15-1.el8.x86_64.noarch
mlnx_ofed_user_space_only_rpm_version:
mlnx_ofed_user_space: mlnx-ofed-user-space-only-all-5.17.15-1.el8.x86_64.noarch
sapp_rpm_version:
sapp: sapp-4.3.29.f4d920a

View File

@@ -23,10 +23,10 @@
shell: sed -i -e 's/KERNEL_VERSION/5.17.15-1.el8/' /usr/bin/uname
when: runtime_env == 'TSG-X-P0906'
############ Ofed user space only install ############
- name: "install rpm packages: ofed"
############ Ofed kernel only install ############
- name: Install rpm packages: mlnx-ofed-kernel-only"
yum:
name: "mlnx-ofed-user-space-only-all-5.17.15-1.el8.x86_64.noarch"
name: "mlnx-ofed-kernel-only-all-5.17.15-1.el8.x86_64.noarch"
conf_file: "{{ rpm_repo_config_path }}"
state: present
when: runtime_env == 'TSG-X-P0906'

View File

@@ -20,8 +20,8 @@
shell: rpm -i /tmp/rpm_download/{{ item.value }}* --prefix {{ prefix_path.mrzcpd }}
with_dict: "{{ mrzcpd_rpm_version }}"
- name: "Install mlnx-ofed-kernel-only"
shell: yum install -y "{{mlnx_ofed_kernel_only_rpm_version.mlnx_ofed_kernel_only}}"
- name: "Install mlnx-ofed-user-space rpm package"
shell: yum install -y "{{ mlnx_ofed_user_space_only_rpm_version.mlnx_ofed_user_space}}"
when: runtime_env == 'TSG-X-P0906'
- name: "update /etc/ld.so.conf.d/mrzcpd.conf"