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