#!/bin/sh set -e ID=$1 usage() { printf "usage: %s \n" $0 } [ $# != 1 ] && usage && exit 1 qm destroy "${ID}"