summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorAde Lee <alee@redhat.com>2012-10-08 09:34:06 -0400
committerAde Lee <alee@redhat.com>2012-10-08 09:34:06 -0400
commit63237d38717ab1a89f682a9a4630cafccdbae6e2 (patch)
tree87480f294dcbbac8d61682f6ae7272e267effe71 /base
parent23c70bd05f5e9a0b779466abcd0e11e5ce7b6ccb (diff)
downloadpki-63237d38717ab1a89f682a9a4630cafccdbae6e2.tar.gz
pki-63237d38717ab1a89f682a9a4630cafccdbae6e2.tar.xz
pki-63237d38717ab1a89f682a9a4630cafccdbae6e2.zip
Backup CS.cfg before d10 update
Diffstat (limited to 'base')
-rw-r--r--base/setup/scripts/functions3
1 files changed, 3 insertions, 0 deletions
diff --git a/base/setup/scripts/functions b/base/setup/scripts/functions
index 4f6073fa6..9b22818fe 100644
--- a/base/setup/scripts/functions
+++ b/base/setup/scripts/functions
@@ -1116,6 +1116,9 @@ update_cs_cfg_for_dogtag_10()
processor.caProfileSubmit.authzResourceName=certServer.ee.profile
processor.caProfileSubmit.getClientCert=false)
+ # back up CS.cfg
+ cp ${pki_instance_configuration_file} ${pki_instance_configuration_file}.pre_dogtag_10_update
+
# Append ANY missing Dogtag 10 CFG parameter to the end of the 'CS.cfg'
for key in "${!dogtag_10_cs_cfg_parameters[@]}"
do