edit
This commit is contained in:
parent
9b514dd962
commit
75711e8700
@ -13,7 +13,7 @@ all_nodes = proxmox.nodes.get()
|
||||
|
||||
def shutdown_pve():
|
||||
try:
|
||||
proxmox.nodes(pve_node).status.shutdown.post()
|
||||
proxmox.nodes(pve_node).status.post(command='shutdown')
|
||||
print("Node is shutting down.")
|
||||
except Exception as e:
|
||||
print(e)
|
||||
|
Loading…
Reference in New Issue
Block a user