diff options
author | Rob Crittenden <rcritten@redhat.com> | 2012-02-14 09:48:32 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2012-02-15 20:27:34 -0500 |
commit | 65f40aeb8d147e30f50d128ffc290169937b6d50 (patch) | |
tree | bcbed1ac3a8a3cc1abe9beaf0043ad57b53c2858 /ipaserver/install/cainstance.py | |
parent | cf35dfa2bca2860aed795a30e05201a88c896a9e (diff) | |
download | freeipa.git-65f40aeb8d147e30f50d128ffc290169937b6d50.tar.gz freeipa.git-65f40aeb8d147e30f50d128ffc290169937b6d50.tar.xz freeipa.git-65f40aeb8d147e30f50d128ffc290169937b6d50.zip |
Use FQDN in place of FQHN for consistency in sub_dict.
For some reason lost to history the sub_dict in dsinstance and
cainstance used FQHN instead of FQDN. This made upgrade scripts not
work reliably as the variable might be different depending on context.
Use FQDN universally instead.
Diffstat (limited to 'ipaserver/install/cainstance.py')
-rw-r--r-- | ipaserver/install/cainstance.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/install/cainstance.py b/ipaserver/install/cainstance.py index 94b9d6d0..692a53d4 100644 --- a/ipaserver/install/cainstance.py +++ b/ipaserver/install/cainstance.py @@ -77,7 +77,7 @@ TOMCAT_SERVER_PORT=9701 # information INF_TEMPLATE = """ [General] -FullMachineName= $FQHN +FullMachineName= $FQDN SuiteSpotUserID= $USER SuiteSpotGroup= $GROUP ServerRoot= $SERVER_ROOT @@ -266,7 +266,7 @@ class CADSInstance(service.Service): def __setup_sub_dict(self): server_root = dsinstance.find_server_root() - self.sub_dict = dict(FQHN=self.fqdn, SERVERID=self.serverid, + self.sub_dict = dict(FQDN=self.fqdn, SERVERID=self.serverid, PASSWORD=self.dm_password, SUFFIX=self.suffix.lower(), REALM=self.realm_name, USER=PKI_DS_USER, SERVER_ROOT=server_root, DOMAIN=self.domain, |