mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Disable all network interfaces during Windows install. Close #115
During the Windows install network interfaces are completely disabled! This is to allow those users who want to create local accounts to do so. A side affect is that the first time Windows boots with the QEMU network enabled it will blue screen, automatically restart and then boot normally with fully functioning networking.,
This commit is contained in:
		
							parent
							
								
									45457c8808
								
							
						
					
					
						commit
						fd901a987c
					
				
					 2 changed files with 16 additions and 1 deletions
				
			
		
							
								
								
									
										10
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										10
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -687,7 +687,6 @@ function vm_boot() { | |||
|          -device usb-ehci,id=input | ||||
|          -device usb-kbd,bus=input.0 | ||||
|          -device ${MOUSE},bus=input.0 | ||||
|          -device ${NET_DEVICE},netdev=nic -netdev ${NET},id=nic | ||||
|          -audiodev pa,id=audio0,out.mixing-engine=off,out.stream-name=${LAUNCHER}-${VMNAME},in.stream-name=${LAUNCHER}-${VMNAME} | ||||
|          -device intel-hda -device hda-duplex,audiodev=audio0 | ||||
|          -rtc base=localtime,clock=host,driftfix=slew | ||||
|  | @ -700,6 +699,15 @@ function vm_boot() { | |||
|          -monitor none | ||||
|          -serial mon:stdio) | ||||
| 
 | ||||
|   # Disables network interface during Windows install. | ||||
|   # See https://github.com/wimpysworld/quickemu/issues/115 | ||||
|   if [ "${guest_os}" == "windows" ] && [ -n "${iso}" ]; then | ||||
|     args+=(-nic none) | ||||
|   else | ||||
|     # shellcheck disable=SC2054,SC2206 | ||||
|     args+=(-device ${NET_DEVICE},netdev=nic -netdev ${NET},id=nic) | ||||
|   fi | ||||
| 
 | ||||
|   # Add the disks | ||||
|   # - https://turlucode.com/qemu-disk-io-performance-comparison-native-or-threads-windows-10-version/ | ||||
|   if [[ "${boot}" == *"efi"* ]]; then | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue