mirror of
https://github.com/ComputerScienceHouse/proxstar.git
synced 2025-03-09 15:40:09 +00:00
vastly improved ui, added redirects after operations complete, and added novnc repo
This commit is contained in:
parent
2f9f8d164e
commit
ee8e439260
10 changed files with 200 additions and 63 deletions
|
|
@ -31,6 +31,11 @@ def get_vm_node(proxmox, vmid):
|
|||
return vm['node']
|
||||
|
||||
|
||||
def get_vm(proxmox, vmid):
|
||||
node = proxmox.nodes(get_vm_node(proxmox, vmid))
|
||||
return node.qemu(vmid).status.current.get()
|
||||
|
||||
|
||||
def get_vm_config(proxmox, vmid):
|
||||
node = proxmox.nodes(get_vm_node(proxmox, vmid))
|
||||
return node.qemu(vmid).config.get()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue