#!/bin/bash

# Proxmox VE virtual machine listing
# (c) 2015, Tom Laermans for Observium

PVESH=`which pvesh`
if [ $? -eq 0 ]
then
  echo "<<<proxmox-qemu>>>"
  pvesh get /nodes/$(hostname)/qemu 2>&1|tail -n+2 # tail +2 drops the "200 OK" response
fi
