summaryrefslogtreecommitdiffstats
path: root/ipaserver/plugins/join.py
diff options
context:
space:
mode:
Diffstat (limited to 'ipaserver/plugins/join.py')
-rw-r--r--ipaserver/plugins/join.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/ipaserver/plugins/join.py b/ipaserver/plugins/join.py
index 992c6868e..81c336b27 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']