Blob Blame History Raw
From 8610ddbee7025286881c1b470e13f0a5ff6a4452 Mon Sep 17 00:00:00 2001
From: Simo Sorce <simo@redhat.com>
Date: Fri, 10 Jul 2015 12:58:19 -0400
Subject: [PATCH] Fix DNS records installation for replicas

Ticket: https:/fedorahosted.org/freeipa/ticket/5116

Signed-off-by: Simo Sorce <simo@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
---
 ipaserver/install/server/replicainstall.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/ipaserver/install/server/replicainstall.py b/ipaserver/install/server/replicainstall.py
index a78eeb331c1f3f4f2233abb9e65bdde79eee4000..1ad291a1eada080361031a5723a0ea61679fc72e 100644
--- a/ipaserver/install/server/replicainstall.py
+++ b/ipaserver/install/server/replicainstall.py
@@ -503,9 +503,9 @@ def install_check(installer):
     if options.setup_dns:
         dns.install_check(False, True, options, config.host_name)
     else:
-        installutils.get_server_ip_address(config.host_name, fstore,
-                                           not installer.interactive, False,
-                                           options.ip_addresses)
+        config.ips = installutils.get_server_ip_address(
+            config.host_name, fstore, not installer.interactive, False,
+            options.ip_addresses)
 
     # check connection
     if not options.skip_conncheck:
-- 
2.1.0