How To Remove Template XenCenter with XE Command


###Remove Template On XenCenter 6.2###


##Remote to IP XenCenter
+ putty remote

##Command This Test (Remove)
xe template-list name-label=Ubuntu Trusty 14.04 (64-bit)
xe template-param-set other-config:default_template=false uuid=42c448f7-7416-8796-f833-8942fbd8ec65
xe template-param-set is-a-template=false uuid=42c448f7-7416-8796-f833-8942fbd8ec65
xe vm-destroy uuid=42c448f7-7416-8796-f833-8942fbd8ec65

##Command This Test (Add Template)
+ TEMPLATE_UUID=`xe template-list name-label="Ubuntu Lucid Lynx 10.04 (64-bit)" params=uuid --minimal`
+ NEW_TEMPLATE_UUID=`xe vm-clone uuid=$TEMPLATE_UUID new-name-label="Ubuntu Trusty 14.04 (64-bit)"`  + xe template-param-set other-config:default_template=true other-config:debian-release=trusty other-config:install-methods="ftp,http,cdrom" uuid=$NEW_TEMPLATE_UUID 
--------------------------------------------------------------------------------------------------------------------------------