# Astra-Live Configuration File
# -----------------------------

# System Configuration
# --------------------
HOST_NAME="astra"                 # Host name for the system
USER_NAME="astra-live"            # Username for the system
USER_PASSWORD_HASH=''             # Hashed user password (use `echo "P@ssw0rd" | mkpasswd -s`, leave empty if not required)
AUTOLOGIN="true"                  # Autologin for the system

# Build Configuration
# -------------------
BUILD_DIR="${PWD}/build"          # Build Directory
DISTRIBUTION=""                   # Codename of the distribution
ARCHITECTURE=""                   # Architecture of the distribution (auto-determined)
COMP_TYPE="zstd"                  # SquashFS compression type (iso image only)
REMOVE_SOURCES="false"            # Remove all contents of the build directory before starting the build
KEEP_CACHE="false"                # Keep apt cache in the build directory after build process
KEEP_ROOTFS="false"               # Keep compressed rootfs image in the build directory after build process
KEEP_IMAGE="false"                # Keep built image files in the build directory after build process
KEEP_LOG="false"                  # Keep the log file after the build process
REPO_DOWNLOAD_THREADS=8           # Number of parallel threads for repository download (default: 8, range: 1-32)

# Repository Configuration
# ------------------------
# !!! Service variables for `live-build-astra`. Edit package list manually if using `astra-live` !!!
REPO_LIST=()                      # Specify names of images/directories and/or URLs
KEEP_SOURCES_LIST="false"         # Keep the list of repositories provided to the -r/--repository option

# Packages Configuration
# ----------------------
# !!! Service variables for `live-build-astra`. Edit package list manually if using `astra-live` !!!
ADD_PACKAGES=()                   # List of additional packages to add
ADD_PACKAGES_LIST=""              # Path to the file containing the list of additional packages to add
DELETE_PACKAGES=()                # List of packages to delete
DELETE_PACKAGES_LIST=""           # Path to the file containing the list of packages to delete
REPLACE_PACKAGES=()               # List of packages to replace
REPLACE_PACKAGES_LIST=""          # Path to the file containing the list of packages to replace
TASKS=()                          # List of tasks to replace the default package list

# Package List Configuration
# --------------------
SIMULATION_MODE="false"           # Enable simulation mode for package list (no actual installation)
VERBOSITY_LEVEL=1                 # Verbosity level: 0=quiet with spinners, 1=normal output (default), 2=verbose with tracing
SHOW_SPINNER_OUTPUT="false"       # Show spinner output mode globally (only works when VERBOSITY_LEVEL=0, toggled by pressing R during build)

# Images Configuration
# --------------------
GENERATE_IMAGES=()                # Types of images to generate (docker, iso, qcow2, raw, tar, vmdk, wsl)
ISO_NAME=""                       # Image name for ISO
DOCKER_NAME=""                    # Image name for Docker
DOCKER_TAG=""                     # Docker Tag
QCOW2_NAME=""                     # Image name for QCOW2
RAW_NAME=""                       # Image name for raw disk
TAR_NAME=""                       # Image name for tarball
VMDK_NAME=""                      # Image name for VMDK
WSL_NAME=""                       # Image name for WSL

# ISO Configuration
# -----------------
ISO_VOLUME_ID="Astra Linux"       # ISO volume label (max 32 chars)
ISO_GRUB_ENTRY="Astra Linux"      # GRUB menu entry text (max 64 chars)
ISO_DISK_INFO="Astra Linux"       # Content of .disk/info file (max 64 chars)
ISO_MENU="themed"                 # GRUB menu style: themed|hidden
ISO_LAUNCHER="off"                # Installer launcher mode: off|auto|force
ISO_LAUNCHER_RAM=2300             # RAM threshold in MB for ISO_LAUNCHER=auto
ISO_INCLUDE_REPO="false"          # Download repositories from REPO_LIST into ISO for offline installation
ISO_REPOS=()                      # Array of repository URLs to download into ISO for installation media
