From eab4e36ee50a4d924d7889a167f4917fa9bf6136 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Thu, 17 Feb 2011 08:30:36 -0500 Subject: Try to register DNS name through a DNS Update on install. Fixes: https://fedorahosted.org/freeipa/ticket/935 --- ipaserver/plugins/join.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ipaserver/plugins/join.py') diff --git a/ipaserver/plugins/join.py b/ipaserver/plugins/join.py index 992c6868..81c336b2 100644 --- a/ipaserver/plugins/join.py +++ b/ipaserver/plugins/join.py @@ -110,7 +110,7 @@ class join(Command): attrs_list = api.Command['host_show'](**kw)['result'] dn = attrs_list['dn'] except errors.NotFound: - attrs_list = api.Command['host_add'](hostname)['result'] + attrs_list = api.Command['host_add'](hostname, force=True)['result'] dn = attrs_list['dn'] config = api.Command['config_show']()['result'] -- cgit