mirror of
				https://github.com/ComputerScienceHouse/proxstar.git
				synced 2025-03-09 15:40:09 +00:00 
			
		
		
		
	actually use the right port when starting proxmox vnc session
This commit is contained in:
		
							parent
							
								
									63fd8c3e2f
								
							
						
					
					
						commit
						be0cba852d
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		|  | @ -261,9 +261,8 @@ def change_vm_mem(proxmox, vmid, mem): | |||
| 
 | ||||
| def start_vm_vnc(proxmox, vmid): | ||||
|     node = proxmox.nodes(get_vm_node(proxmox, vmid)) | ||||
|     port = str(5900 + int(vmid)) | ||||
|     node.qemu(vmid).monitor.post( | ||||
|         command="change vnc 127.0.0.1:{}".format(port)) | ||||
|         command="change vnc 127.0.0.1:{}".format(vmid)) | ||||
| 
 | ||||
| 
 | ||||
| def get_isos(proxmox, storage): | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue