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/dsinstance.py | |
parent | cf35dfa2bca2860aed795a30e05201a88c896a9e (diff) | |
download | freeipa-65f40aeb8d147e30f50d128ffc290169937b6d50.tar.gz freeipa-65f40aeb8d147e30f50d128ffc290169937b6d50.tar.xz freeipa-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/dsinstance.py')
-rw-r--r-- | ipaserver/install/dsinstance.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaserver/install/dsinstance.py b/ipaserver/install/dsinstance.py index 2fb749f17..c66f2a7f1 100644 --- a/ipaserver/install/dsinstance.py +++ b/ipaserver/install/dsinstance.py @@ -100,7 +100,7 @@ def is_ds_running(server_id=''): INF_TEMPLATE = """ [General] -FullMachineName= $FQHN +FullMachineName= $FQDN SuiteSpotUserID= $USER SuiteSpotGroup= $GROUP ServerRoot= $SERVER_ROOT @@ -275,7 +275,7 @@ class DsInstance(service.Service): def __setup_sub_dict(self): server_root = 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, RANDOM_PASSWORD=self.generate_random(), SUFFIX=self.suffix.lower(), |