[Freeipa-devel] [PATCH 0151-0152] install: Call hostnamectl set-hostname only if --hostname option is use server-install: Fix --hostname option to always override api.env value

Jan Cholasta jcholast at redhat.com
Thu Jul 28 14:35:56 UTC 2016


On 28.7.2016 16:20, Petr Spacek wrote:
> Hello,
>
> install: Call hostnamectl set-hostname only if --hostname option is used
>
> This commit also splits hostname backup and configuration into two separate
> functions. This allows us to backup hostname without setting it at the
> same time.
>
> https://fedorahosted.org/freeipa/ticket/6071

Note that you can set ca_host in cfg unconditionally, the value is only 
valid during install and is not written anywhere.

>
> server-install: Fix --hostname option to always override api.env values
>
> Attempts to compare local hostname with user-provided values are error
> prone as we found out in #5794. This patch removes comparison and makes
> the env values deterministic.
>
> https://fedorahosted.org/freeipa/ticket/6071
>
>
> Jan, this patch set should fix problems you have seen in containers.
>
>
>


-- 
Jan Cholasta




More information about the Freeipa-devel mailing list