On Sun, 18 Oct 2015 10:07:05 -0400 [email protected] wrote: > Note that that isn't universal across Linux. I have at least one > fairly modern Linux box at work which renames the interfaces from > eth# to something else.
In any case the other problem is that variable names can't be variable. I can't do "ifconfig_$eth0="etc...". I quess I just have to remember to edit the files when I move a server. Or, I could create a script that generates all my files that I call with the server that I want it to be. Call it as; make_server [web|db|mail|phone|admin] Then create templates for the different servers. That would solve the fstab problem as well. -- D'Arcy J.M. Cain <[email protected]> http://www.NetBSD.org/ IM:[email protected]
