Correct Samba sharing to use ${PUBLIC}

This commit is contained in:
Martin Wimpress 2021-10-09 14:34:22 +01:00
parent 45b09c1f5e
commit 6f49efee2f
No known key found for this signature in database
GPG Key ID: 61DF940515E06DA3

View File

@ -617,7 +617,7 @@ function vm_boot() {
# If smbd is available and ~/Public is present export it to the guest via samba # If smbd is available and ~/Public is present export it to the guest via samba
if [[ -e "/usr/sbin/smbd" && -n ${PUBLIC} ]]; then if [[ -e "/usr/sbin/smbd" && -n ${PUBLIC} ]]; then
NET="${NET},smb=${HOME}" NET="${NET},smb=${PUBLIC}"
echo " - smbd: On guest: smb://10.0.2.4/qemu" echo " - smbd: On guest: smb://10.0.2.4/qemu"
fi fi