Add mellanox driver to ubuntu image

Hello,
FDI has mlx5_cor driver built in. I need this driver add to ubuntu image which will be provisioned on server.

How can I add these drivers to ubuntu, which will be installed on bare metal ?

Hello, what Ubuntu image? We don’t provide any Ubuntu FDI images.

No, I don’t want FDI ubuntu image - I would like to add this driver to files generated (copied) by foreman-proxy (tftp) to /var/lib/tftpboot, the one which is used to install target (ubuntu) system.

You need to rebuild the init ramdisk yourself in this case. This is more question to Ubuntu developers, it should be possible to repack it if you have the correct binary driver module:

https://wiki.ubuntu.com/CustomizeLiveInitrd

OK, thank You !