Try to register DNS name through a DNS Update on install.

Fixes: https://fedorahosted.org/freeipa/ticket/935
This commit is contained in:
Simo Sorce committed 2011-02-17 19:43:52 -05:00
1 parent 817dac3f04
commit eab4e36ee5
3 files changed
+113 -1

No files matched your search

+1 -1
View File
@@ -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']