I'm working with some embedded systems where the OS will be Squeeze on a CF card. The idea is to have a basic setup that will be stored in a zip file and when it's time to create a new system, the files will be unzipped onto a new CF card, then the card will be put in a new system.
Of course to do this, I have to start with a base system or prototype and I don't want the info for my LAN or anything else like that to be passed on or left in the file system of the newer systems. When the new CF card is put into each new system and it is turned on, there's a command that will make the new system automatically download a config program that will make all needed changes to the embedded computer.
That leads to the question, "What do I change?" I'll be changing the host name, which is in /etc/hostname and /etc/hosts. I also need to change the host name in /etc/exim4/update-exim4.conf.conf and in /etc/mailname. The user names in passwd and so on don't need changing, since each system has the same user name.
I also know the domain is specified in /etc/resolv.conf. But if I'm getting the info for a network connection through DHCP, won't they be overwritten once the info comes in from the DHCP?
Are there other files where I'd have to change the values so the new system doesn't contain references to the original LAN or host name or any other similar info?
I'm not worried about files that will be re-written on the first boot (like anything dhclient or any DHCP stuff will re-write once it's on a new LAN), but I'd like to know if I'm missing any info that I need to erase or change.
I'm not sure, but I think most of the info would be related to DNS or DHCP.
Thanks for any info on this.
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact email@example.com