mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Increase disk_size for macOS and display MSR alerts more often. Close #153
This commit is contained in:
		
							parent
							
								
									cf20a3268b
								
							
						
					
					
						commit
						5c53dec449
					
				
					 1 changed files with 6 additions and 8 deletions
				
			
		
							
								
								
									
										12
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										12
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -489,7 +489,7 @@ function vm_boot() { | |||
|       OSK=$(echo "bheuneqjbexolgurfrjbeqfthneqrqcyrnfrqbagfgrny(p)NccyrPbzchgreVap" | tr 'A-Za-z' 'N-ZA-Mn-za-m') | ||||
|       GUEST_TWEAKS="-device isa-applesmc,osk=${OSK} -no-hpet -global kvm-pit.lost_tick_policy=discard" | ||||
|       if [ -z "${disk_size}" ]; then | ||||
|         disk_size="64G" | ||||
|         disk_size="96G" | ||||
|       fi | ||||
|       ;; | ||||
|     windows) | ||||
|  | @ -569,13 +569,11 @@ function vm_boot() { | |||
|     # If there is a disk image that appears to be used do not boot from installation media. | ||||
|     iso="" | ||||
|     img="" | ||||
|   else | ||||
|     if [ "${guest_os}" == "macos" ] || [ "${guest_os}" == "windows" ]; then | ||||
|       # Display MSRs alert if the disk appears unused and guest is macOS or Windows | ||||
|       # Assume that a "used" disk has a working install, therefore no alerts are | ||||
|       # required. | ||||
|       ignore_msrs_alert | ||||
|   fi | ||||
| 
 | ||||
|   if [ "${guest_os}" == "macos" ] || [ "${guest_os}" == "windows" ]; then | ||||
|     # Display MSRs alert if the guest is macOS | ||||
|     ignore_msrs_alert | ||||
|   fi | ||||
| 
 | ||||
|   # Has the status quo been requested? | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue