mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Put the VM name in the window title and assign it to the process
This commit is contained in:
		
							parent
							
								
									cdb4c12170
								
							
						
					
					
						commit
						c664baaf08
					
				
					 1 changed files with 3 additions and 1 deletions
				
			
		|  | @ -30,6 +30,7 @@ function vm_snapshot() { | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| function vm_boot() { | function vm_boot() { | ||||||
|  |   local VMNAME=$(basename ${VM} .conf) | ||||||
|   local BIOS="" |   local BIOS="" | ||||||
|   local GL="on" |   local GL="on" | ||||||
|   local UI="sdl" |   local UI="sdl" | ||||||
|  | @ -135,7 +136,8 @@ function vm_boot() { | ||||||
| 
 | 
 | ||||||
|   #echo " - QEMU:     qemu-${ENGINE}" |   #echo " - QEMU:     qemu-${ENGINE}" | ||||||
|   # Boot the iso image |   # Boot the iso image | ||||||
|   qemu-${ENGINE} ${BIOS} \ |   qemu-${ENGINE} -name ${VMNAME},process=${VMNAME} \ | ||||||
|  |     ${BIOS} \ | ||||||
|     -cdrom "${iso}" \ |     -cdrom "${iso}" \ | ||||||
|     -drive "file=${disk_img},format=qcow2,if=virtio,aio=native,cache.direct=on" \ |     -drive "file=${disk_img},format=qcow2,if=virtio,aio=native,cache.direct=on" \ | ||||||
|     -enable-kvm \ |     -enable-kvm \ | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue