-
Notifications
You must be signed in to change notification settings - Fork 21
/
image_config.sh
31 lines (24 loc) · 992 Bytes
/
image_config.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#!/usr/bin/env bash
# Shared config for image scripts
# shellcheck disable=SC2034
# where to find an existing superbird device dump, to use for creating a debian image
EXISTING_DUMP="./dumps/debian_current"
# Network info
HOST_NAME="superbird"
USBNET_PREFIX="192.168.7" # usb network will use .1 as host device, and .2 for superbird
# User info
USER_NAME="superbird"
# generate hash: openssl passwd -6 "superbird"
# shellcheck disable=SC2016
USER_PASS_HASH='$6$zeM8ZwO/Xke05h6X$UtmM0sIBznj4hxmd/UGUO1YHUr0emOn.9u7G1yQRVGR4XutYCstDzVLzpUw9PNWrhYRAEg73ovkC4JNPFlSmI1'
# config for debootstrap
ARCHITECTURE="arm64"
DISTRO_REPO_URL="http://deb.debian.org/debian/"
DISTRO_BRANCH="trixie"
DISTRO_VARIANT="minbase"
# you can add extra packages here to install during stage 2
# will be installed like this (in chroot): apt install -y --no-install-recommends --no-install-suggests $EXTRA_PACKAGES
EXTRA_PACKAGES=""
# timezone and locale
TIMEZONE="America/Los_Angeles"
LOCALE="en_US.UTF-8"