Home >

Lunacm Command Reference Guide > LunaCM Commands > partition > partition policyTemplateDelete

partition policyTemplateDelete   

Delete partition policy template.

Syntax

partition policyTemplateDelete [-all] [-name<template-name>] [-force]

Option Shortcut Parameter Description
-all -a . Delete all templates
-name -n <template name> Specifies the name of the application partition policy template to delete. Application partition policy template names are obtained with the partition policyTemplate -list command.
-force -f . Force the option. Useful for scripting.

Example

lunacm:> slot set slot 1

        Current Slot Id:    1     (Luna Admin Slot 6.24.0 (PED) Signing With Cloning Mode)

Command Result : No Error

lunacm:> partition policyTemplateList

 Name                        Description
 _______________________________________________________________

 Sample02                    Another template
 sample01


No partition policy template is currently loaded.

Command Result : No Error

lunacm:> partition policyTemplateDelete -name sample01

        Are you sure you wish to delete partition policy template: sample01

        Type 'proceed' to continue, or 'quit' to quit now -> proceed

Successfully deleted partition policy template: sample01

Command Result : No Error 
lunacm:> slot set slot 1

        Current Slot Id:    1     (Luna Admin Slot 6.24.0 (PED) Signing With Cloning Mode)

Command Result : No Error

lunacm:> partition policyTemplateList

 Name                        Description
 _______________________________________________________________

 Sample02                    Another template


No partition policy template is currently loaded.

Command Result : No Error