customizations

This commit is contained in:
randogoth 2026-02-01 21:24:00 +02:00
parent 26139b62dd
commit 6b479a0c55
3 changed files with 22 additions and 14 deletions

6
scripts/install-btrfs.sh Normal file → Executable file
View file

@ -2,14 +2,16 @@
set -euo pipefail
# Non-interactive Btrfs installer using the flake in this repo.
# Defaults: DISK=/dev/vda HOSTNAME=installer
# Defaults: DISK=/dev/vda HOSTNAME=nanuqsaurus
DISK=${DISK:-/dev/vda}
HOSTNAME=${HOSTNAME:-installer}
HOSTNAME=${HOSTNAME:-nanuqsaurus}
SCRIPT_DIR=$(cd -- "$(dirname "${BASH_SOURCE[0]}")" && pwd)
REPO_ROOT=$(cd -- "${SCRIPT_DIR}/.." && pwd)
clear
echo "[1/7] Partitioning ${DISK}"
printf "label: gpt\n,550M,U\n,,L\n" | sfdisk "${DISK}"