#2692 ipa-server-install ignores --hostname
Closed: Fixed None Opened 9 years ago by mkosek.

https://bugzilla.redhat.com/show_bug.cgi?id=817071 (Red Hat Enterprise Linux 6)

ipa-sever-install has optinal parameters, which have all the behavior that if I
specify a value on the command line I'm not asked interactively for the

This is not true for --hostname.


# ipa-server-install --hostname foo.bar --no-host-dns --domain bar

The log file for this installation can be found in
This program will set up the IPA Server.

This includes:
<snip />

To accept the default shown in brackets, press the Enter key.

Enter the fully qualified domain name of the computer
on which you're setting up server software. Using the form
Example: master.example.com.

Server host name [foo.bar]:

###### dkovalsk: I'm actually asked for the hostname, even if I specify the
correct FQDN

Warning: skipping DNS resolution of host foo.bar

Warning: hostname foo.bar does not match system hostname ###REAL_DOMAIN_CUT###

System hostname will be updated during the installation process
to prevent service failures.

#### dkovalsk: domain is properly skipped because it's specified on the command

Unable to resolve IP address for host name
Please provide the IP address to be used for this host name:

### (and so forth)

Metadata Update from @mkosek:
- Issue assigned to lroot
- Issue set to the milestone: Future Releases

4 years ago


  • b8ebce7 ipatests: test_installation: add install test scenarios


  • a213110 ipatests: test_installation: add install test scenarios

Login to comment on this ticket.