[Freeipa-devel] [PATCH] 762 Let the framework be able to override the hostname

Rob Crittenden rcritten at redhat.com
Wed May 11 20:58:46 UTC 2011


Jan Cholasta wrote:
> On 10.5.2011 15:51, Rob Crittenden wrote:
>> Jan Cholasta wrote:
>>> On 1.4.2011 17:47, Rob Crittenden wrote:
>>>> The hostname is passed in during the server installation. We should use
>>>> this hostname for the resulting server as well. It was being discarded
>>>> and we always used the system hostname value.
>>>>
>>>> ticket 1052
>>>>
>>>> rob
>>>>
>>>
>>> It would be nice to use the saved hostname everywhere, instead of
>>> socket.gethostname and similar. That would fix ticket 1035 too.
>>>
>>
>> If you know of places this doesn't cover please let me know. 1035 is a
>> bit of a different case in that it doesn't validate that the hostname is
>> a FQDN.
>>
>> rob
>
> Nevermind, I thought for a moment that api.env.host is set to the value
> from /etc/ipa/default.conf.
>

In fact that is what this patch allows.

rob




More information about the Freeipa-devel mailing list