Shell interface for the Proxmox VE API: Difference between revisions

From Proxmox VE
Jump to navigation Jump to search
(Created page with "<!--PVE_IMPORT_START_MARKER--> <!-- Do not edit - this is autogenerated content --> {{#pvedocs:pvesh-plain.html}} Category:Reference Documentation <pvehide> The Proxm...")
 
No edit summary
 
Line 10: Line 10:
Get the list of nodes in my cluster
Get the list of nodes in my cluster
# pvesh get /nodes
# pvesh get /nodes
Get a list of available options for the data center
Get a list of available options for the datacenter
# pvesh usage cluster/options -v
# pvesh usage cluster/options -v
Set the HTMl5 NoVNC console as the default console for the data center
Set the HTMl5 NoVNC console as the default console for the datacenter
# pvesh set cluster/options -console html5
# pvesh set cluster/options -console html5
</pvehide>
</pvehide>
<!--PVE_IMPORT_END_MARKER-->
<!--PVE_IMPORT_END_MARKER-->

Latest revision as of 10:29, 22 June 2023

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