xm list "$MACHINE" >/dev/null 2>/dev/null && echo "$MACHINE already exists" && exit 1
if [ "$ACTION" = "install" ]; then
xm create invirt-database machine_name="$ORIGMACHINE" installer_options="$(printf '%q ' "$@")"
xm list "$MACHINE" >/dev/null 2>/dev/null && echo "$MACHINE already exists" && exit 1
if [ "$ACTION" = "install" ]; then
xm create invirt-database machine_name="$ORIGMACHINE" installer_options="$(printf '%q ' "$@")"