On 03/10/11 03:31, Ireneusz Szcześniak wrote:
> Hi,
> 
> I'm planning to install an image of Debian to a number of computers. 
> Each of these computers will have the same configuration except the 
> hostname and the IP address.  The IP configuration has to be static.
> I can't use a DHCP server.
> 
> QUESTION; Is there a way to assign a hostname and a static IP address
> at boot time depending on the MAC address of the computer's network 
> interface card?

I note that someone has already given you a scripting solution.

> 
> 
> Thanks, Irek
> 

If you have a large number of identical hardware machines to image - a
multicast solution that allows defining build rules (ie static network
addresses, hostname, /etc/host, passwords, usernames, network shares and
logons etc)
might save time and make management easier. eg. FAI (most excellent)
Clonezilla SE (excellent), systemimager (I haven't used), and others.

For identical software and different hardware using a package list (dpkg
--get-selections > package.list) can be used.

For large deployments consider Puppet (very good, especially in mixed
environments).

Cheers


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e8967a4.3010...@gmail.com

Reply via email to