有時,XenServer不允許您從XenCenter GUI甚至CLI中刪除模板。以下是通過以下三個步驟從CLI刪除模板的方法:
告訴XenServer模板不是默認模板
將模板轉換爲VM
刪除VM
xe template-param-set other-config:default_template = false uuid = [uuid]
xe template-param-set is-a-template = false uuid = [uuid]
xe vm-destroy uuid = [uuid]
其中[uuid]是您要刪除的模板的UUID。