<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFCC" text="#000000">
<br>
<div class="moz-cite-prefix">On 10/10/14 01.23, CLOSE Dave wrote:<br>
</div>
<blockquote cite="mid:543718F0.1060708@us.thalesgroup.com"
type="cite">
<pre wrap="">Bill Shirley wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Does kickstart send the hostname every time?
</pre>
</blockquote>
<pre wrap="">
Actually, it doesn't seem to send hostname ever. The only potentially
useful field unique to kickstart in any of the messages is the
vendor-class-identifer. And that appears only in the first DISCOVER/REQUEST.
However, following up on Sten's suggestion, I find that the initrd does
contain a dhclient.conf file. All it contains now is,
> request subnet-mask, broadcast-address, time-offset, routers,
> domain-name, domain-name-servers, domain-search, host-name,
> root-path, interface-mtu;
Perhaps I can add something to this file.</pre>
</blockquote>
How about a host name? You could make it easy to match with a class,
like:<br>
<br>
well-done-host-00123<br>
well-done-host-00124<br>
well-done-host-00125<br>
<br>
Then match on substring of host name excluding the serial.<br>
<br>
Possibly using some HW part e.g. MAC or part of MAC for the number
part. I think there might be a hook for something like this. Others
will know better.<br>
<blockquote cite="mid:543718F0.1060708@us.thalesgroup.com"
type="cite">
<pre wrap="">
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Best regards
Sten Carlsen
No improvements come from shouting:
"MALE BOVINE MANURE!!!"
</pre>
</body>
</html>