[pve-devel] Finding a VM's Node via API
lindsay.mathieson at gmail.com
Thu Jan 15 13:45:56 CET 2015
On Thu, 15 Jan 2015 09:50:09 AM Dietmar Maurer wrote:
> # pvesh get /cluster/resources -type vm
> But I have no idea how to extract the result inside a shell script?
Attached is an updated spice-example script,that can connect to any node, to
open any vm, also can launch fullscreen.
requires jq to be installed.
Usage: ./proxmox-viewer.sh [-u <string>] [-p <string>] [-f] vmid proxy
-u username. Default root at pam
-p password. Default ''
-f fullscreen ''
vmid: id for VM
node or proxy: DNS or IP
Please feel free to incorpporate or use.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1604 bytes
Desc: not available
More information about the pve-devel