Skip to content

Commit 461203b

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Add script to delete templates"
2 parents 368bfa2 + d7ed417 commit 461203b

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)