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
2011-02-17 19:43:52 -05:00
parent 817dac3f04
commit eab4e36ee5
3 changed files with 113 additions and 1 deletions
+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']