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
				
			
		
							
								
								
									
										14
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										14
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -489,7 +489,7 @@ function vm_boot() { | ||||||
|       OSK=$(echo "bheuneqjbexolgurfrjbeqfthneqrqcyrnfrqbagfgrny(p)NccyrPbzchgreVap" | tr 'A-Za-z' 'N-ZA-Mn-za-m') |       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" |       GUEST_TWEAKS="-device isa-applesmc,osk=${OSK} -no-hpet -global kvm-pit.lost_tick_policy=discard" | ||||||
|       if [ -z "${disk_size}" ]; then |       if [ -z "${disk_size}" ]; then | ||||||
|         disk_size="64G" |         disk_size="96G" | ||||||
|       fi |       fi | ||||||
|       ;; |       ;; | ||||||
|     windows) |     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. |     # If there is a disk image that appears to be used do not boot from installation media. | ||||||
|     iso="" |     iso="" | ||||||
|     img="" |     img="" | ||||||
|   else |   fi | ||||||
|     if [ "${guest_os}" == "macos" ] || [ "${guest_os}" == "windows" ]; then | 
 | ||||||
|       # Display MSRs alert if the disk appears unused and guest is macOS or Windows |   if [ "${guest_os}" == "macos" ] || [ "${guest_os}" == "windows" ]; then | ||||||
|       # Assume that a "used" disk has a working install, therefore no alerts are |     # Display MSRs alert if the guest is macOS | ||||||
|       # required. |     ignore_msrs_alert | ||||||
|       ignore_msrs_alert |  | ||||||
|     fi |  | ||||||
|   fi |   fi | ||||||
| 
 | 
 | ||||||
|   # Has the status quo been requested? |   # Has the status quo been requested? | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue