mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	quickemu fix nproc
Better handling available cores
This commit is contained in:
		
							parent
							
								
									ca8023bc27
								
							
						
					
					
						commit
						67686fcada
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		
							
								
								
									
										2
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										2
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -253,7 +253,7 @@ function vm_boot() { | ||||||
|   echo "Quickemu ${VERSION} using ${QEMU} v${QEMU_VER_LONG}" |   echo "Quickemu ${VERSION} using ${QEMU} v${QEMU_VER_LONG}" | ||||||
|   echo " - Host:     ${LSB_DESCRIPTION} running ${KERNEL_NAME} ${KERNEL_VER} ${KERNEL_NODE}" |   echo " - Host:     ${LSB_DESCRIPTION} running ${KERNEL_NAME} ${KERNEL_VER} ${KERNEL_NODE}" | ||||||
| 
 | 
 | ||||||
|   HOST_CPU_CORES=$(nproc --all) |   HOST_CPU_CORES=$(nproc) | ||||||
|   HOST_CPU_MODEL=$(lscpu | grep '^Model name:' | cut -d':' -f2 | sed 's/  //g') |   HOST_CPU_MODEL=$(lscpu | grep '^Model name:' | cut -d':' -f2 | sed 's/  //g') | ||||||
|   HOST_CPU_SOCKETS=$(lscpu | grep -E 'Socket' | cut -d':' -f2 | sed 's/ //g') |   HOST_CPU_SOCKETS=$(lscpu | grep -E 'Socket' | cut -d':' -f2 | sed 's/ //g') | ||||||
|   HOST_CPU_VENDOR=$(lscpu | grep -E 'Vendor' | cut -d':' -f2 | sed 's/ //g') |   HOST_CPU_VENDOR=$(lscpu | grep -E 'Vendor' | cut -d':' -f2 | sed 's/ //g') | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue