upgrade: do not explicitly set principal for services

After installer refactoring, principal is a property of service.

https://fedorahosted.org/freeipa/ticket/6500

Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
This commit is contained in:
Tomas Krizek 2016-11-21 10:37:22 +01:00 committed by Martin Babinsky
parent ad32bf147e
commit 2793cdc859

View File

@ -1589,7 +1589,6 @@ def upgrade_configuration():
http = httpinstance.HTTPInstance(fstore)
http.fqdn = fqdn
http.realm = api.env.realm
http.principal = "HTTP/%s@%s" % (http.fqdn, http.realm)
http.configure_selinux_for_httpd()
http.change_mod_nss_port_from_http()
@ -1612,7 +1611,6 @@ def upgrade_configuration():
ds.fqdn = fqdn
ds.realm = api.env.realm
ds.suffix = ipautil.realm_to_suffix(api.env.realm)
ds.principal = "ldap/%s@%s" % (ds.fqdn, ds.realm)
ds_enable_sidgen_extdom_plugins(ds)