mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-23 07:33:27 -06:00
Honor no-host-dns when creating client host in replica install
--no-host-dns is supposed to avoid all DNS lookups so pass this as the force value when creating the host in a replica installation. https://pagure.io/freeipa/issue/7656 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Tibor Dudlak <tdudlak@redhat.com>
This commit is contained in:
parent
6a1409ec9d
commit
df8bffd9ac
@ -638,7 +638,8 @@ def enroll_dl0_replica(installer, fstore, remote_api, debug=False):
|
||||
try:
|
||||
installer._enrollment_performed = True
|
||||
host_result = remote_api.Command.host_add(
|
||||
unicode(config.host_name))['result']
|
||||
unicode(config.host_name), force=installer.no_host_dns
|
||||
)['result']
|
||||
|
||||
host_princ = unicode(host_result['krbcanonicalname'][0])
|
||||
purge_host_keytab(config.realm_name)
|
||||
|
Loading…
Reference in New Issue
Block a user