Skip to content

Commit d7ed417

Browse files
author
Renuka Apte
committed
Add script to delete templates
This is a common operation on XenServer, which seems to be a three step process. Change-Id: I125b9c11ace0b3454b7c974f9209aca01cdd7ed2
1 parent b03f2e5 commit d7ed417

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
#Usage: ./templatedelete.sh <template-uuid>
4+
5+
templateuuid="$1"
6+
7+
xe template-param-set other-config:default_template=false uuid="$templateuuid"
8+
xe template-param-set is-a-template=false uuid="$templateuuid"
9+
xe vm-destroy uuid="$templateuuid"

0 commit comments

Comments
 (0)