Merge "Add script to delete templates"
This commit is contained in:
commit
461203b2c8
9
tools/xen/scripts/templatedelete.sh
Executable file
9
tools/xen/scripts/templatedelete.sh
Executable file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
#Usage: ./templatedelete.sh <template-uuid>
|
||||
|
||||
templateuuid="$1"
|
||||
|
||||
xe template-param-set other-config:default_template=false uuid="$templateuuid"
|
||||
xe template-param-set is-a-template=false uuid="$templateuuid"
|
||||
xe vm-destroy uuid="$templateuuid"
|
Loading…
Reference in New Issue
Block a user