keyboard-configuration keyboard-configuration/variant select USA
keyboard-configuration keyboard-configuration/model select Generic 105-key (Intl) PC
keyboard-configuration keyboard-configuration/layoutcode string us
+# this ends up in /etc/vconsole.conf
keyboard-configuration keyboard-configuration/optionscode string terminate:ctrl_alt_bksp
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+# note: currently unused.
+
set -eE -o pipefail
trap 'echo "$0:$LINENO:error: \"$BASH_COMMAND\" returned $?" >&2' ERR
luks-setup() {
local luksdev="$1"
local cryptname="$2"
- # when we move to newer than trisquel 9, we can remove
- # --type luks1. We can also check on cryptsetup --help | less /compil
- # to see about the other settings. Default in debian 9 is luks2.
- # You can convert from luks2 to luks 1 by adding a temporary key:
- # cryptsetup luksAddKey --pbkdf pbkdf2
- # then remove the new format keys with cryptsetup luksRemoveKey
- # then cryptsetup convert DEV --type luks1, then readd old keys and remove temp.
+ # when we move to newer than trisquel 9, we can remove --type
+ # luks1. We can also check on cryptsetup --help | less /compil to see
+ # about the other settings. Default in debian 9 is luks2. You can
+ # convert from luks2 to luks 1 by adding a temporary key: cryptsetup
+ # luksAddKey --pbkdf pbkdf2 then remove the new format keys with
+ # cryptsetup luksRemoveKey then cryptsetup convert DEV --type luks1,
+ # then readd old keys and remove temp.
yes YES | cryptsetup luksFormat $luksdev $luks_file || [[ $? == 141 ]]
yes "$lukspw" | \
cryptsetup luksAddKey --key-file $luks_file \
## begin get new kernel and btrfs-progs ##
case $HOSTNAME in
sy|so)
- # on sy t11, severe wifi degredation on 6.8
- # on so t11, no x11 display on 6.8
- $FAI/distro-install-common/install-mainline-kernel-debs stable
+ # note, on sy t11, severe wifi degredation on mainline 6.8
+ :
;;
*)
if ! $ROOTCMD dpkg -s -- freesh-archive-keyring 2>&1 | grep -Fx "Status: install ok installed" &>/dev/null; then
cd $target/tmp
wget $url
tar xzf $tarball
- $ROOTCMD apt-get -y build-dep btrfs-progs
+ # if we are in a full install, gotta prevent build-dep from
+ # using repos that are pinned negative, and pulling in uninstallable
+ # packages.
+ if [[ -e /b/distro-functions/src/package-manager-abstractions ]]; then
+ . /b/distro-functions/src/package-manager-abstractions
+ pbuild-dep btrfs-progs -y
+ else
+ $ROOTCMD apt-get -y build-dep btrfs-progs
+ fi
# no docs cuz I didn't want to bother fixing error of missing docs dependencies
$ROOTCMD bash -xe <<EOF
cd /tmp/${tarball%.tar.gz}
option proto tcp
+config redirect
+ option name temp_webserver
+ option src wan
+ option src_dport 8877
+ option dest lan
+ option dest_ip $l.38
+ option proto tcp
+config rule
+ option src wan
+ option target ACCEPT
+ option dest_port 8877
+ option proto tcp
+
+
## begin no external dns for ziva
config rule
option src lan