Install vendor out-of-tree driver during commissioning

Hello there,

We have a bunch of Netronome Agilio SmartNICs, which cannot be discovered without a driver installed.

I wrote a basic commissioning script:

#!/bin/bash

apt-get install agilio-nfp-driver-dkms -y
ip link

During commissioning, it shows that the package was installed with “Warning: Unable to find an initial ram disk that I know how to handle. Will not try to make an initrd.” error. And the following ip link does not show the NICs we have. Any workarounds to solve this?

Many thanks!