Update build.func

This commit is contained in:
CanbiZ 2025-03-26 08:37:55 +01:00
parent b6b09d6cfa
commit 988d00240f

View File

@ -352,8 +352,6 @@ base_settings() {
SSH="no"
SSH_AUTHORIZED_KEY=""
TAGS="community-script-dev;"
ENABLE_NFS="no"
ENABLE_CIFS="no"
ENABLE_FUSE="no"
# Override default settings with variables from ct script
@ -363,7 +361,7 @@ base_settings() {
RAM_SIZE=${var_ram:-$RAM_SIZE}
VERB=${var_verbose:-$VERBOSE}
TAGS="${TAGS}${var_tags:-}"
ENABLE_FUSE=${var_fuse:-$ENABLE_FUSE}
ENABLE_FUSE="${var_fuse:-${ENABLE_FUSE:-0}}"
# Since these 2 are only defined outside of default_settings function, we add a temporary fallback. TODO: To align everything, we should add these as constant variables (e.g. OSTYPE and OSVERSION), but that would currently require updating the default_settings function for all existing scripts
if [ -z "$var_os" ]; then