#1871 ipa-client-install --hostname not setting HOSTNAME if it is missing from the configuration file
Closed: Fixed None Opened 12 years ago by myllynen.

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.


Extracted code from systemd integration work and made a separate patch.
Patch sent for review.

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)

7 years ago

Login to comment on this ticket.

Metadata