restart 209 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12
#!/bin/bash
. $(dirname $(readlink -f $0))/virt-lib

NAME=$1

if [ -z "$NAME" ]; then
	echo -e "Usage: $0 name [custom options for qemu]\n    or $0 -m list of names"
	exit 2
fi

vctl stop "$@"
vctl start "$@"