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
				
			
		|  | @ -34,6 +34,7 @@ comprehensive support for macOS and Windows**. | ||||||
|   * Full SPICE support including host/guest clipboard sharing |   * Full SPICE support including host/guest clipboard sharing | ||||||
|   * VirtIO-webdavd file sharing for Linux and Windows guests |   * VirtIO-webdavd file sharing for Linux and Windows guests | ||||||
|   * VirtIO-9p file sharing for Linux and macOS guests |   * VirtIO-9p file sharing for Linux and macOS guests | ||||||
|  |   * Samba file sharing for Linux, macOS and Windows guests (*if `smbd` is installed on the host*) | ||||||
|   * VirGL acceleration |   * VirGL acceleration | ||||||
|   * USB device pass-through |   * USB device pass-through | ||||||
|   * Smartcard pass-through |   * Smartcard pass-through | ||||||
|  |  | ||||||
							
								
								
									
										6
									
								
								quickemu
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								quickemu
									
										
									
									
									
								
							|  | @ -615,6 +615,12 @@ function vm_boot() { | ||||||
|     fi |     fi | ||||||
|   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 |   enable_usb_passthrough | ||||||
| 
 | 
 | ||||||
|   # Boot the VM |   # Boot the VM | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue