mirror of
				https://github.com/oSoWoSo/DistroHopper.git
				synced 2024-08-14 22:46:53 +00:00 
			
		
		
		
	Reinstate sharing ~/Public is smbd is available. Close #76
This is a "bonus item". Samba, specifically smbd, is not a hard requirement of Quickemu, but if present quickemu will enable Samba file sharing.
This commit is contained in:
		
							parent
							
								
									ca9c01eec2
								
							
						
					
					
						commit
						ec89223b22
					
				
					 2 changed files with 7 additions and 0 deletions
				
			
		
							
								
								
									
										6
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -615,6 +615,12 @@ function vm_boot() { | |||
|     fi | ||||
|   fi | ||||
| 
 | ||||
|   # If smbd is available and ~/Public is present export it to the guest via samba | ||||
|   if [[ -e "/usr/sbin/smbd" && -n ${PUBLIC} ]]; then | ||||
|       NET="${NET},smb=${HOME}" | ||||
|       echo " - smbd:     On guest: smb://10.0.2.4/qemu" | ||||
|   fi | ||||
| 
 | ||||
|   enable_usb_passthrough | ||||
| 
 | ||||
|   # Boot the VM | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue