14 lines
120 B
Text
14 lines
120 B
Text
|
#!/bin/sh
|
||
|
|
||
|
set -e
|
||
|
|
||
|
ID=$1
|
||
|
|
||
|
usage() {
|
||
|
printf "usage: %s <id>\n" $0
|
||
|
}
|
||
|
|
||
|
[ $# != 1 ] && usage && exit 1
|
||
|
|
||
|
qm destroy "${ID}"
|