Update build.func
This commit is contained in:
parent
b6b09d6cfa
commit
988d00240f
@ -352,8 +352,6 @@ base_settings() {
|
|||||||
SSH="no"
|
SSH="no"
|
||||||
SSH_AUTHORIZED_KEY=""
|
SSH_AUTHORIZED_KEY=""
|
||||||
TAGS="community-script-dev;"
|
TAGS="community-script-dev;"
|
||||||
ENABLE_NFS="no"
|
|
||||||
ENABLE_CIFS="no"
|
|
||||||
ENABLE_FUSE="no"
|
ENABLE_FUSE="no"
|
||||||
|
|
||||||
# Override default settings with variables from ct script
|
# Override default settings with variables from ct script
|
||||||
@ -363,7 +361,7 @@ base_settings() {
|
|||||||
RAM_SIZE=${var_ram:-$RAM_SIZE}
|
RAM_SIZE=${var_ram:-$RAM_SIZE}
|
||||||
VERB=${var_verbose:-$VERBOSE}
|
VERB=${var_verbose:-$VERBOSE}
|
||||||
TAGS="${TAGS}${var_tags:-}"
|
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
|
# 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
|
if [ -z "$var_os" ]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user