correct way to specify a new module to load on boot and add parameters
- To: "Debian User" <firstname.lastname@example.org>
- Subject: correct way to specify a new module to load on boot and add parameters
- From: "Matthew Lenz" <email@example.com>
- Date: Tue, 2 Aug 2005 13:52:46 -0500
- Message-id: <001601c59793$5f9a94c0$0302000a@MLENZLAPTOP>
.. i am adding bonding to all my servers ethernet interfaces and I need to make the bonding module load on boot with specific parameters. I currently modified the /etc/modules file and added my
bonding mode=active-backup primary=eth0 miimon=250
made the appropriate /etc/network/interfaces changes and reboots.. everything works perfectly. I just want to know if I put the module stuff in the right place. It seems thatI also could have put an alias for bond0 bonding .etc. etc. in /etc/modules.conf but i wasn't sure.
which way is correct so that package updates to the system won't overwrite my config?