[CentOS] 70-persistent-net-rules

Fri Jul 13 20:49:23 UTC 2012
m.roth at 5-cent.us <m.roth at 5-cent.us>

Jerry Geis wrote:
>> Edit the existing one? It does persist through reboots, which is what
>> you might expect from the name.
> I'd like to automate- Editing is prone to  mistakes. Its not just one
> machine.
> So I'd like to automate it.

That's a lot more complicated, since each have their own MACs. Do you have
a) some kind of centrally-controlled configuration, and b) are they all
under DHCP, and only allow known MAC addresses to get IPs? If yes to both
of those, you could write a script to make it, using those, and push it

On the other hand, you only need to do it once for each machine.