From d83db9843ba7bab218ea383d97dc0710b7e2858d Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Fri, 23 Jan 2026 17:53:32 +0000 Subject: [PATCH] fix(public_dir): respect public_dir setting when loading VM - Read public_dir from the sourced VM config into PUBLIC - Preserve existing PUBLIC when public_dir is not set - Prevent PUBLIC being empty when a VM specifies public_dir Fixes #1634 Signed-off-by: Martin Wimpress --- quickemu | 1 + 1 file changed, 1 insertion(+) diff --git a/quickemu b/quickemu index 9af973a..5c3fe5d 100755 --- a/quickemu +++ b/quickemu @@ -2214,6 +2214,7 @@ fi if [ -n "${VM}" ] && [ -e "${VM}" ]; then # shellcheck source=/dev/null source "${VM}" + PUBLIC="${public_dir:-${PUBLIC}}" VMDIR=$(dirname "${disk_img}") # directory the VM disk and state files are stored VMNAME=$(basename "${VM}" .conf) # name of the VM