mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Enable network during Windows installs
This commit is contained in:
		
							parent
							
								
									9210054c05
								
							
						
					
					
						commit
						2a0ba4d10a
					
				
					 2 changed files with 1 additions and 12 deletions
				
			
		|  | @ -298,13 +298,6 @@ and [Windows 11](https://www.microsoft.com/en-gb/software-download/windows11) | ||||||
| along with the [VirtIO drivers for Windows](https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/) | along with the [VirtIO drivers for Windows](https://fedorapeople.org/groups/virt/virtio-win/direct-downloads/) | ||||||
| and creates a virtual machine configuration. | and creates a virtual machine configuration. | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
| **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 start normally with fully functioning |  | ||||||
| networking**. |  | ||||||
| 
 |  | ||||||
| ```bash | ```bash | ||||||
| quickget windows 11 | quickget windows 11 | ||||||
| quickemu --vm windows-11.conf | quickemu --vm windows-11.conf | ||||||
|  |  | ||||||
							
								
								
									
										6
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -864,11 +864,7 @@ function vm_boot() { | ||||||
|          -monitor none |          -monitor none | ||||||
|          -serial mon:stdio) |          -serial mon:stdio) | ||||||
| 
 | 
 | ||||||
|   # re-instate old fix for #115 |   if [ -n "${bridge}" ]; then | ||||||
|   if [ "${guest_os}" == "windows" ] && [ -n "${iso}" ]; then |  | ||||||
|     args+=(-nic none) |  | ||||||
|   elif [ -n "${bridge}" ]; then |  | ||||||
| 
 |  | ||||||
|     # Enable bridge mode networking |     # Enable bridge mode networking | ||||||
|     # shellcheck disable=SC2054,SC2206 |     # shellcheck disable=SC2054,SC2206 | ||||||
|     args+=(-nic bridge,br=${bridge},model=virtio-net-pci) |     args+=(-nic bridge,br=${bridge},model=virtio-net-pci) | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue