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