Shell interface for the Proxmox VE API

From Proxmox VE
Revision as of 10:29, 22 June 2023 by Api (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Proxmox VE management tool (pvesh) allows to directly invoke API function, without using the REST/HTTPS server.

Note Only root is allowed to do that.

EXAMPLES

Get the list of nodes in my cluster

# pvesh get /nodes

Get a list of available options for the datacenter

# pvesh usage cluster/options -v

Set the HTMl5 NoVNC console as the default console for the datacenter

# pvesh set cluster/options -console html5