Fix ipa-replica-prepare always warning the user about not using the system hostname.

ticket 1717
This commit is contained in:
Jan Cholasta
2011-09-26 11:34:16 +02:00
committed by Martin Kosek
parent f9477be9e9
commit 5cd121d6dd
2 changed files with 16 additions and 6 deletions

View File

@@ -244,7 +244,7 @@ def main():
options.setup_pkinit = False
try:
installutils.verify_fqdn(replica_fqdn)
installutils.verify_fqdn(replica_fqdn, system_name_check=False)
except RuntimeError, e:
msg = str(e)
if msg.startswith('Unable to resolve host name'):