Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Apr 2002 22:51:48 -0700
From:      Luigi Rizzo <rizzo@icir.org>
To:        Nik Clayton <nik@FreeBSD.ORG>
Cc:        Nate Williams <nate@yogotech.com>, arch@FreeBSD.ORG
Subject:   Re: proposed code: automatic setting of hostname from MAC address
Message-ID:  <20020409225148.A68389@iguana.icir.org>
In-Reply-To: <20020409203403.U30474@canyon.nothing-going-on.org>
References:  <20020407035941.B37911@iguana.icir.org> <15538.12905.744914.71228@caddis.yogotech.com> <20020408235226.B57765@iguana.icir.org> <20020409203403.U30474@canyon.nothing-going-on.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Apr 09, 2002 at 08:34:03PM +0100, Nik Clayton wrote:
...
> > The call to auto_set_hostname() in rc.conf will fetch the MAC address
> > from the first ethernet card, look it up in a database of
> > MAC<->hostname pairs (/etc/ethers, or /etc/hosts), and sets the
> > "hostname" and "ifconfig_foo0" shell variables accordingly. From
> > there on, rc.conf is absolutely the same as usual.
> 
> Why not do this in /etc/rc.conf.local, which can be local to each 
> machine, with /etc/rc.conf being sitewide?

rc.conf can be local as well. My whole point is try to have
a single config file as opposed to 100 of them!

	cheers
	luigi

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020409225148.A68389>