Update build.func
This commit is contained in:
parent
66c5048f0c
commit
d5a34b9948
@ -388,7 +388,8 @@ 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}
|
# 26.03.2025 disabled
|
||||||
|
#ENABLE_FUSE=${var_fuse:-$ENABLE_FUSE}
|
||||||
|
|
||||||
# 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
|
||||||
@ -729,11 +730,11 @@ advanced_settings() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if (whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --defaultno --title "FUSE Support" --yesno "Enable FUSE (Filesystem in Userspace) support in the container?" 10 58); then
|
if (whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --defaultno --title "FUSE Support" --yesno "Enable FUSE (Filesystem in Userspace) support in the container?" 10 58); then
|
||||||
ENABLE_FUSE="1"
|
ENABLE_FUSE="yes"
|
||||||
else
|
else
|
||||||
ENABLE_FUSE="0"
|
ENABLE_FUSE="no"
|
||||||
fi
|
fi
|
||||||
echo -e "${FUSE}${BOLD}${DGN}FUSE (filesystem in userspace) Support: ${BGN}$ENABLE_FUSE${CL}"
|
echo -e "${FUSE}${BOLD}${DGN}FUSE (Filesystem in Userspace) Support: ${BGN}$ENABLE_FUSE${CL}"
|
||||||
|
|
||||||
if (whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
|
if (whiptail --backtitle "[dev] Proxmox VE Helper Scripts" --defaultno --title "VERBOSE MODE" --yesno "Enable Verbose Mode?" 10 58); then
|
||||||
VERB="yes"
|
VERB="yes"
|
||||||
@ -1397,9 +1398,9 @@ build_container() {
|
|||||||
FEATURES="nesting=1"
|
FEATURES="nesting=1"
|
||||||
fi
|
fi
|
||||||
# 26.03.2025 disabled
|
# 26.03.2025 disabled
|
||||||
if [ "$ENABLE_FUSE" == "1" ]; then
|
#if [ "$ENABLE_FUSE" == "yes" ]; then
|
||||||
FEATURES+=",fuse=1"
|
# FEATURES+=",fuse=1"
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
if [[ $DIAGNOSTICS == "yes" ]]; then
|
if [[ $DIAGNOSTICS == "yes" ]]; then
|
||||||
post_to_api
|
post_to_api
|
||||||
|
Loading…
x
Reference in New Issue
Block a user