13e8c341a1
Volumes can now be mounted, unmounted, and accessed using CIFS, including encrypted volumes. Streamlined build customization capability, including addition of "scoreboard" file. Added live-helper scripts to the repository.
159 lines
4.7 KiB
Bash
159 lines
4.7 KiB
Bash
#!/bin/sh
|
|
#cnas-default-settings
|
|
# Default settings file for CryptoNAS Live
|
|
#
|
|
# This file is a shell script included by the live-helper
|
|
# scripts. Settings in "cnas-custom-settings" override
|
|
# those here if that file exists.
|
|
# Therefore, if you want to make local customizations to
|
|
# your build settings, you should do:
|
|
# "cp cnas-default-settings cnas-custom-settings"
|
|
# and make changes to "cnas-custom-settings".
|
|
#
|
|
# Values in config/bootstrap, config/chroot, config/binary,
|
|
# etc. will be used if they are not redefined by
|
|
# cnas-custom-settings or cnas-default-settings.
|
|
#
|
|
# I've tried to include in this file the settings that
|
|
# are most likely to be changed by a developer or custom
|
|
# builder. If an option isn't here, you should look in
|
|
# config/bootstrap, config/chroot, config/binary,
|
|
# config/source, or config/common.
|
|
# An "effective inclusion" diagram in Open Office format
|
|
# will eventually be included in the repository for
|
|
# documentation.
|
|
|
|
|
|
# -----common-----
|
|
# Internal stuff (FIXME)
|
|
# The `--force-yes' option should be removed once `apt' is made to
|
|
# recognize and use all the relevant GPG keys. `--yes' can stay.
|
|
APT_OPTIONS="--yes --force-yes"
|
|
|
|
|
|
# $LH_ARCHITECTURE: select chroot architecture
|
|
# (Default: autodetected)
|
|
# Note: Debian Live is also designed to work on AMD64 and PowerPC
|
|
LH_ARCHITECTURE="i386"
|
|
|
|
|
|
#-----bootstrap-----
|
|
# $LH_MIRROR_BOOTSTRAP: set mirror to bootstrap from
|
|
# (Default: http://ftp.us.debian.org/debian/)
|
|
LH_MIRROR_BOOTSTRAP="http://127.0.0.1:3142/apt-cacher/ftp.debian.org/debian/"
|
|
|
|
# $LH_MIRROR_CHROOT: set mirror to fetch packages from
|
|
# (Default: http://ftp.us.debian.org/debian/)
|
|
LH_MIRROR_CHROOT=$LH_MIRROR_BOOTSTRAP
|
|
|
|
# $LH_MIRROR_CHROOT_SECURITY: set security mirror to fetch packages from
|
|
# (Default: http://security.debian.org/)
|
|
LH_MIRROR_CHROOT_SECURITY="http://127.0.0.1:3142/apt-cacher/security.debian.org/"
|
|
|
|
#-----chroot-----
|
|
# $LH_HOOKS: set hook commands
|
|
# (Default: empty)
|
|
LH_HOOKS=""
|
|
|
|
# $LH_INTERACTIVE: set interactive build
|
|
# (Default: disabled)
|
|
LH_INTERACTIVE="disabled"
|
|
|
|
# $LH_KEYRING_PACKAGES: set keyring packages
|
|
# (Default: empty)
|
|
LH_KEYRING_PACKAGES=""
|
|
|
|
# $LH_LANGUAGE: set language to use
|
|
# (Default: empty)
|
|
LH_LANGUAGE="en"
|
|
|
|
# $LH_LINUX_FLAVOURS: set kernel flavour to use
|
|
# (Default: autodetected)
|
|
# CryptoNAS will be VERY slow on anything less than a Pentium,
|
|
# but you can add other flavors here if you want to.
|
|
#LH_LINUX_FLAVOURS="486 686"
|
|
#LH_LINUX_FLAVOURS="686"
|
|
|
|
|
|
# $LH_LINUX_PACKAGES: set kernel packages to use
|
|
# (Default: autodetected)
|
|
LH_LINUX_PACKAGES="linux-image-2.6 ${LH_UNION_FILESYSTEM}-modules-2.6 squashfs-modules-2.6"
|
|
#LH_LINUX_PACKAGES=""
|
|
|
|
# $LH_PACKAGES: set packages to install
|
|
# (Default: empty)
|
|
LH_PACKAGES=""
|
|
|
|
# $LH_PACKAGES_LISTS: set package list to install
|
|
# (Default: standard)
|
|
# FIXME: Use "minimal cryptonas" for CryptoNAS releases
|
|
LH_PACKAGES_LISTS="standard cryptonas-devel"
|
|
|
|
#-----binary-----
|
|
# $LH_BINARY_IMAGES: set image type
|
|
# (Default: usb-hdd)
|
|
# Valid choices are:
|
|
# "iso" for CD-ROM builds
|
|
# "usb-hdd" for other block devices
|
|
# "net" for netboot
|
|
# "tar" for ???
|
|
LH_BINARY_IMAGES="usb-hdd"
|
|
|
|
# $LH_ENCRYPTION: set encrytion
|
|
# (Default: disabled)
|
|
LH_ENCRYPTION="disabled"
|
|
|
|
# $LH_HOSTNAME: set hostname
|
|
# (Default: cryptonas)
|
|
LH_HOSTNAME="cryptonas"
|
|
|
|
|
|
# $LH_ISO_PREPARER: set iso preparer
|
|
# (Default: live-helper 1.0~a46; http://packages.qa.debian.org/live-helper)
|
|
LH_ISO_PREPARER="live-helper 1.0~a46; http://packages.qa.debian.org/live-helper"
|
|
|
|
# $LH_ISO_PUBLISHER: set iso publisher
|
|
# (Default: Debian Live project; http://debian-live.alioth.debian.org/; debian-live-devel@lists.alioth.debian.org)
|
|
LH_ISO_PUBLISHER="CryptoNAS project; http://cryptonas.org; cryptobox-dev@lists.systemausfall.org"
|
|
|
|
# $LH_ISO_VOLUME: set iso volume (max 32 chars)
|
|
# (Default: Debian Live $(date +%Y%m%d-%H:%M))
|
|
LH_ISO_VOLUME="CryptoNAS Live $(date +%Y%m%d-%H:%M)"
|
|
|
|
#-----source-----
|
|
# $LH_SOURCE: set source option
|
|
# This is the easiest way to comply with the GNU GPL if you're
|
|
# redistributing CryptoNAS on a CD-ROM.
|
|
# (Default: disabled)
|
|
LH_SOURCE="disabled"
|
|
|
|
|
|
|
|
|
|
# It is recommended that CryptoNAS-specific variable
|
|
# definitions follow the CNAS_FOO or _CNAS_FOO conventions to
|
|
# avoid polluting the shared live-helper namespace. Additionally,
|
|
# only variables starting with "CNAS_" will be available at
|
|
# runtime via the scoreboard file.
|
|
###############################################################
|
|
|
|
#CNAS_DELETEFILES="/etc/rcS.d/*discover \
|
|
#/etc/rcS.d/*lvm \
|
|
#/var/log/dpkg.log \
|
|
#/var/log/bootstrap.log"
|
|
|
|
#CNAS_MAKEDIRS=""
|
|
|
|
|
|
# $LH_BINARY_IMAGES: set image type
|
|
# (Default: usb-hdd)
|
|
# Valid choices are:
|
|
# "iso" for CD-ROM builds
|
|
# "usb-hdd" for other block devices
|
|
# "net" for netboot
|
|
# "tar" for ???
|
|
LH_BINARY_IMAGES="usb-hdd"
|
|
|
|
|
|
CNAS_ROOT_FS="/root"
|
|
CNAS_HARDNESS="devel"
|