mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Make shellcheck happy
This commit is contained in:
		
							parent
							
								
									1423b272c3
								
							
						
					
					
						commit
						743b051526
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		
							
								
								
									
										2
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -835,6 +835,7 @@ function vm_boot() { | ||||||
| 
 | 
 | ||||||
|   if [ -n "${bridge}" ]; then |   if [ -n "${bridge}" ]; then | ||||||
|     # Enable bridge mode networking |     # Enable bridge mode networking | ||||||
|  |     # shellcheck disable=SC2054,SC2206 | ||||||
|     args+=(-nic bridge,br=${bridge},model=virtio-net-pci) |     args+=(-nic bridge,br=${bridge},model=virtio-net-pci) | ||||||
|   else |   else | ||||||
|     # shellcheck disable=SC2054,SC2206 |     # shellcheck disable=SC2054,SC2206 | ||||||
|  | @ -909,6 +910,7 @@ function vm_boot() { | ||||||
|     args+=(-device ide-hd,drive=SystemDisk,bus=ahci.0,bootindex=0 |     args+=(-device ide-hd,drive=SystemDisk,bus=ahci.0,bootindex=0 | ||||||
|           -drive id=SystemDisk,if=none,format=qcow2,file="${disk_img}" ${STATUS_QUO}) |           -drive id=SystemDisk,if=none,format=qcow2,file="${disk_img}" ${STATUS_QUO}) | ||||||
|   else |   else | ||||||
|  |     # shellcheck disable=SC2054,SC2206 | ||||||
|     args+=(-device virtio-blk-pci,drive=SystemDisk |     args+=(-device virtio-blk-pci,drive=SystemDisk | ||||||
|            -drive id=SystemDisk,if=none,format=qcow2,file="${disk_img}" ${STATUS_QUO}) |            -drive id=SystemDisk,if=none,format=qcow2,file="${disk_img}" ${STATUS_QUO}) | ||||||
|   fi |   fi | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue