upgrade mellanox infiniband driver on Proxmox

touch '/please-remove-proxmox-ve' chmod 775 /please-remove-proxmox-ve cp /usr/share/proxmox-ve/pve-apt-hook /root/ apt-get remove proxmox-ve pve* apt install pve-kernel-4.15.18-1-pve pve-headers-4.15.18-1-pve apt install pve-kernel-4.15.18-2-pve pve-headers-4.15.18-2-pve ./mlnx_add_kernel_support.sh -m /root/mellanox/MLNX_OFED_LINUX-4.4-2.0.7.0-debian9.4-x86_64 --make-tgz cp /tmp/MLNX_OFED_LINUX-4.4-2.0.7.0-debian9.5-x86_64-ext.tgz ./ tar xzvf MLNX_OFED_LINUX-4.4-2.0.7.0-debian9.5-x86_64-ext.tgz cd MLNX_OFED_LINUX-4.4-2.0.7.0-debian9.5-x86_64-ext/ ./mlnxofedinstall --skip-distro-check --dkms systemctl disable openibd.service mkdir /usr/share/proxmox-ve/ apt install proxmox-ve systemctl stop pvestatd.service & systemctl start pvestatd.service dpkg --configure pve-manager proxmox-ve mv /root/pve-apt-hook /usr/share/proxmox-ve/ nano /etc/modules mlx4_ib mlx4_en ib_ipoib ib_umad knem knem init 6 change to kernel 4.15.18-1