[Freeipa-devel] [PATCH] 161 Make ipa-server-install clean after itself

Martin Kosek mkosek at redhat.com
Tue Nov 8 15:14:12 UTC 2011


How to test:

1) ipa-server-install -p secret123 -a secret123 --hostname
ipa.example.com
2) Continue in interactive wizard until IP address is requested (as
ipa.example.com cannot be resolved)
3) When it is entered and ipa-server-install gives this output:

# ipa-server-install -p kokos123 -a kokos123 --hostname ipa.example.com
--setup-dns
...
Please confirm the domain name [example.com]: 

Unable to resolve IP address for host name
Please provide the IP address to be used for this host name: 10.16.78.93
Adding [10.16.78.93 ipa.example.com] to your /etc/hosts file <<<<<
...

hit CTRL+C to quit from the installation.
4) Try running ipa-server-install again. It will fail as /etc/hosts has
been changed - this patch fixes it.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mkosek-161-make-ipa-server-install-clean-after-itself.patch
Type: text/x-patch
Size: 5318 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20111108/8efd6d9d/attachment.bin>


More information about the Freeipa-devel mailing list