Browse code

Merge "Add script to delete templates"

Jenkins authored on 2012/05/17 05:06:04
Showing 1 changed files
1 1
new file mode 100755
... ...
@@ -0,0 +1,9 @@
0
+#!/bin/bash
1
+
2
+#Usage: ./templatedelete.sh <template-uuid>
3
+
4
+templateuuid="$1"
5
+
6
+xe template-param-set other-config:default_template=false uuid="$templateuuid"
7
+xe template-param-set is-a-template=false uuid="$templateuuid"
8
+xe vm-destroy uuid="$templateuuid"