#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
install.

This is not true for --hostname.

Reproducer:

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

The log file for this installation can be found in
/var/log/ipaserver-install.log
==============================================================================
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
<hostname>.<domainname>
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
line

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


### (and so forth)
ipa-server-2.1.3-9.el6.x86_64
ipa-server-2.2.0-11.el6.x86_64

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

4 years ago

master:

  • b8ebce7 ipatests: test_installation: add install test scenarios

ipa-4-9:

  • a213110 ipatests: test_installation: add install test scenarios

Login to comment on this ticket.

Metadata