Just a warning about getting hostname from DHCP server, will not do for a lot 
of people. There must be a way of setting the hostname either at install time 
or very early on in boot process.

In a Microsoft DHCP/DNS setup it stores no information about the host, since it 
is done when the Windows client boots and it passes the hostname to the DHCP 
server which in turns passes it onto DNS.

So we still need to a way of setting a hostname at install time, but without 
having a manifest file for every single host (ie. 1000's files for a 1000's 
hosts!)

I guess it could be done with a SMF at boot time using the MAC address as your 
reference!

Andrew

> Hi Mark,
> 
> it seems this requirement is captured by following
> enhancement:
> 
> 5556 AI must provide way to switch of populating
> hostname from DHCP server
> 
> As far as implementation is concerned, the plan is to
> take advantage
> of SMF Enhanced Profiles for those kind of
> post-install configuration tasks.
> 
> Might it be what you are looking for ?
> 
> Thanks !
> Jan
> 
> 
> On 04/18/09 02:11, Mark S. Wedel wrote:
> > By default, if using automated install, the
> hostname (/etc/nodename) of the system is set to
> opensolaris.  This is not good in our lab environment
> - having a large number of machines which just say
> 'opensolaris' when logging in is sure to cause
> confusion.
> >
> > I notice that with bug 5554, the hostname can be
> specified in the manifest file.  This works, but now
> requires that there be hundreds of distinct manifest
> files (one for each host) to set the hostname.  The
> rest of the values in the manifest file are more
> generic and could apply for a large number of hosts.
> Having one manifest per machine becomes a
>  maintenance headache.
> 
> > Ideal case is that hostname is whatever dhcp
> reports (dhcpinfo -i e1000g0 hostname for example).
> I can certainly see many cases where that might not
> be desirable (the DHCP address really is dynamic or
>  DHCP does not provide useful hostnames)
> 
> > Ideal solution would be same way to configure it -
> maybe something like:
> > propval name='use_dhcp_hostname' ' value='true'
> >
> > Which if set, uses dhcpinfo to get hostname, if
> not, falls back to hostname propval and then
> opensolaris.
> >
> > Any plans to add such functionality?  Is there a
> way to do this right now?
> 
> _______________________________________________
> caiman-discuss mailing list
> caiman-discuss at opensolaris.org
> http://mail.opensolaris.org/mailman/listinfo/caiman-di
> scuss
-- 
This message posted from opensolaris.org

Reply via email to