mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-26 08:51:50 -06:00
Pass a list of values into add_master_dns_records
During replica installation the local IP addresses should be added to DNS but will fail because a string is being passed to an argument expecting a list. Convert to a list before passing in individual IPs. Discovered when fixing https://pagure.io/freeipa/issue/7408 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-By: Christian Heimes <cheimes@redhat.com>
This commit is contained in:
parent
8954521007
commit
9b7a152e95
@ -181,7 +181,7 @@ def install_dns_records(config, options, remote_api, fstore=None):
|
||||
reverse_zone = bindinstance.find_reverse_zone(ip, remote_api)
|
||||
|
||||
bind.add_master_dns_records(config.host_name,
|
||||
str(ip),
|
||||
[str(ip)],
|
||||
config.realm_name,
|
||||
config.domain_name,
|
||||
reverse_zone)
|
||||
|
Loading…
Reference in New Issue
Block a user