summaryrefslogtreecommitdiffstats
path: root/base/deploy/src/pkidestroy
diff options
context:
space:
mode:
Diffstat (limited to 'base/deploy/src/pkidestroy')
-rwxr-xr-xbase/deploy/src/pkidestroy10
1 files changed, 5 insertions, 5 deletions
diff --git a/base/deploy/src/pkidestroy b/base/deploy/src/pkidestroy
index 7d30d74..f9c04b7 100755
--- a/base/deploy/src/pkidestroy
+++ b/base/deploy/src/pkidestroy
@@ -95,7 +95,7 @@ def main(argv):
log.PKIDESTROY_EPILOG)
parser.mandatory.add_argument('-i',
- dest='pki_deployed_instance_name',
+ dest='pki_instance_name',
action='store',
nargs=1, required=True, metavar='<instance>',
help='FORMAT: ${pki_instance_name}')
@@ -103,13 +103,13 @@ def main(argv):
args = parser.process_command_line_arguments(argv)
# -i <instance name>
- config.pki_deployed_instance_name =\
- str(args.pki_deployed_instance_name).strip('[\']')
+ config.pki_instance_name =\
+ str(args.pki_instance_name).strip('[\']')
# verify that previously deployed instance exists
deployed_pki_instance_path = config.pki_root_prefix +\
config.PKI_DEPLOYMENT_BASE_ROOT + "/" +\
- config.pki_deployed_instance_name
+ config.pki_instance_name
if not os.path.exists(deployed_pki_instance_path):
print "ERROR: " + log.PKI_INSTANCE_DOES_NOT_EXIST_1 %\
deployed_pki_instance_path
@@ -137,7 +137,7 @@ def main(argv):
config.pki_subsystem.lower() + "/" +\
config.USER_DEPLOYMENT_CONFIGURATION
- parser.validate()
+ parser.initialize()
# Enable 'pkidestroy' logging.
config.pki_log_dir = config.pki_root_prefix +\