From 34737af104bf1a2a287e8a4650abd59e64294a3c Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Fri, 23 Jan 2026 08:26:02 -0600 Subject: feat(archsetup): add config file support for unattended installs - Add --config-file PATH CLI flag - Add load_config() function to source config variables - Support USERNAME, PASSWORD, AUTOLOGIN, NO_GPU_DRIVERS config options - Create archsetup.conf.example with documented options Follows same pattern as archzfs project for consistency. --- archsetup.conf.example | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 archsetup.conf.example (limited to 'archsetup.conf.example') diff --git a/archsetup.conf.example b/archsetup.conf.example new file mode 100644 index 0000000..969079a --- /dev/null +++ b/archsetup.conf.example @@ -0,0 +1,32 @@ +# archsetup.conf - Configuration for unattended installation +# +# Copy this file and edit values for your setup: +# cp archsetup.conf.example archsetup.conf +# +# Then run: +# ./archsetup --config-file archsetup.conf +# +# All fields have defaults - only specify what you want to change. + +############################# +# User Configuration +############################# + +# Username for the primary user account (default: cjennings) +USERNAME=cjennings + +# Initial password - should be changed on first login (default: welcome) +PASSWORD=welcome + +############################# +# System Options +############################# + +# Automatic console login after disk decryption (default: prompt on encrypted systems) +# Options: yes, no +# Only relevant for systems with encrypted root (LUKS or ZFS native encryption) +#AUTOLOGIN=yes + +# Skip GPU driver auto-detection and installation (default: no) +# Set to "yes" if you want to handle GPU drivers manually +#NO_GPU_DRIVERS=no -- cgit v1.2.3