diff options
Diffstat (limited to 'ipaserver/install/dsinstance.py')
-rw-r--r-- | ipaserver/install/dsinstance.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py index f76378ea1..9a90e99db 100644 --- a/ipaserver/install/dsinstance.py +++ b/ipaserver/install/dsinstance.py @@ -551,12 +551,12 @@ class DsInstance(service.Service): inf_fd = ipautil.write_tmp_file(inf_txt) inf_txt = re.sub(r"RootDNPwd=.*\n", "", inf_txt) root_logger.debug(inf_txt) - if ipautil.file_exists(paths.SETUP_DS_PL): - args = [paths.SETUP_DS_PL, "--silent", "--logfile", "-", "-f", inf_fd.name] - root_logger.debug("calling setup-ds.pl") - else: - args = [paths.DS_NEWINST_PL, inf_fd.name] - root_logger.debug("calling ds_newinst.pl") + args = [ + paths.SETUP_DS_PL, "--silent", + "--logfile", "-", + "-f", inf_fd.name, + ] + root_logger.debug("calling setup-ds.pl") try: ipautil.run(args) root_logger.debug("completed creating ds instance") |