How to make CentOS Linux to load a module automatically at boot time?

How to make CentOS Linux to load a module, say ixgbe, automatically at boot time? I am using CentOS 7.

You can create a text file <some name>.conf in the /etc/modules-load.d/ and list the modules to be loaded there, one per line. The systemd-modules-load.service daemon will read these files and load the modules.

Check more details of modules-load.d by checking the modules-load.d man page.

Eric Ma

Eric is a systems guy. Eric is interested in building high-performance and scalable distributed systems and related technologies. The views or opinions expressed here are solely Eric's own and do not necessarily represent those of any third parties.

Leave a Reply

Your email address will not be published. Required fields are marked *