🐞 fix(TSG-12904): 修复 TSG-X-NXR620G40-R01-P1403 安装MFT软件失败问题。

修复 TSG-X-NXR620G40-R01-P1403 安装MFT软件失败问题。
This commit is contained in:
songyanchao
2022-12-02 02:42:13 -05:00
committed by 宋延超
parent 305ada9ce3
commit bd9c32f57f
2 changed files with 5 additions and 1 deletions

View File

@@ -27,6 +27,10 @@
shell: sed -i -e 's/KERNEL_VERSION/3.10.0-1160.59.1.el7.x86_64/' /usr/bin/uname
when: runtime_env == 'TSG-X-P1403'
- name: "ln kernel for el7"
shell: mkdir -p /lib/modules/3.10.0-1160.59.1.el7.x86_64/ && ln -vfs --relative /usr/src/kernels/3.10.0-1160.59.1.el7.x86_64/ /lib/modules/3.10.0-1160.59.1.el7.x86_64/build
when: runtime_env == 'TSG-X-P1403'
###### TSG-X-P0804 TSG-X-P0906 ofed install start ######
- name: "install rpm packages: ofed"
yum:

View File

@@ -54,7 +54,7 @@ case $profile_id in
base_package_to_install="@base @core @debugging @directory-client @guest-agents
@hardware-monitoring @network-file-system-client @performance @remote-system-management
grub2 epel-release efibootmgr ansible yum-utils ipmitool docker-ce docker-ce-cli
containerd.io lrzsz python3 vconfig watchdog pcm git tmux fish"
containerd.io lrzsz python3 vconfig watchdog pcm git tmux fish rpm-build"
;;
*)
base_package_to_install="error_profile_id"