Tory (and everyone else):
I think this is the code you want to mod, if my python's not laughable:
/usr/lib/python2.4/site-packages/cobbler/pxegen.py
214: try:
215: ipaddress =
socket.gethostbyname_ex(blended["http_server"])[2][0]
216: except socket.gaierror:
217: ipaddress = blended["http_server"]
218: kickstart_path = "http://%s/cblr/svc/op/ks/system/%s" %
(ipaddress, system.name)
I say cut that out or mod it, and the string will be preserved. Fix the
DNS to match, and you're golden.
- ..
Tory M Blue wrote:
But it seems simple enough that I just don't think anyone has
ever
gotten the correct answer (many incomplete web posts, questions around
this). That's either because there really is no answer, you work
around the issue. But if DHCP has the information, why can't Cobbler
use it?
>
> Also I'm not adding systems, so it's not a necessary step for me, a
> server is unboxed and imaged.
>
> Thanks for the response.
> Tory
> _______________________________________________
> cobbler mailing list
> cobbler(a)lists.fedorahosted.org
>
https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org
>