vastly improved ui, added redirects after operations complete, and added novnc repo

This commit is contained in:
Jordan Rodgers 2017-11-30 01:30:11 -05:00
parent 2f9f8d164e
commit ee8e439260
10 changed files with 200 additions and 63 deletions

View file

@ -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()