If HOSTNAME is absent from /etc/sysconfig/network ipa-client-install --hostname won't set it up.
Related to #1368 and https://bugzilla.redhat.com/show_bug.cgi?id=714919, discussed over IRC.
I have patch in http://fedorapeople.org/gitweb?p=abbra/public_git/freeipa.git;a=commitdiff;h=2bd9cac41dceb8d57e2e350a08776eedb6d11bf6
Extracted code from systemd integration work and made a separate patch. Patch sent for review.
master: 8badce2
ipa-2-1: b17dfe4
Small addendum. If HOSTNAME isn't in /etc/sysconfig/network then the value of the system hostname is not saved and restored.
master: 77fdf6f
ipa-2-1: 16fc9f8
Metadata Update from @myllynen: - Issue assigned to abbra - Issue set to the milestone: FreeIPA 2.1.3 (bug fixing)
Login to comment on this ticket.