making it so the answerfile actually functions

This commit is contained in:
brad 2023-03-31 20:17:44 -05:00
parent 3276d2aea3
commit 44305865c9

69
alpine/answer.cfg Normal file → Executable file
View File

@ -1,46 +1,61 @@
# Example answer file for setup-alpine script
# If you don't want to use a certain option, then comment it out
# Use US layout with US variant
KEYMAPOPTS="us us"
# KEYMAPOPTS="us us"
KEYMAPOPTS=us us
# Set hostname to 'alpine'
HOSTNAMEOPTS=alpine
HOSTNAMEOPTS=burner
# Set device manager to mdev
DEVDOPTS=mdev
# Set timezone to America/Chicago
TIMEZONEOPTS="America/Chicago"
# Contents of /etc/network/interfaces
INTERFACESOPTS="auto lo
iface lo inet loopback
# Set http/ftp proxy
auto eth0
iface eth0 inet dhcp
hostname burner
"
# Search domain of example.com, Google public nameserver
# DNSOPTS="-d example.com 8.8.8.8"
# Set timezone to UTC
#TIMEZONEOPTS="UTC"
TIMEZONEOPTS=America/Chicago
# set http/ftp proxy
#PROXYOPTS="http://webproxy:8080"
PROXYOPTS=none
# Add mirrors (CDN) and enable all repositories, including edge
APKREPOSOPTS="http://dl-cdn.alpinelinux.org/alpine/v3.14/main
http://dl-cdn.alpinelinux.org/alpine/v3.14/community
http://dl-cdn.alpinelinux.org/alpine/edge/main
http://dl-cdn.alpinelinux.org/alpine/edge/community
http://dl-cdn.alpinelinux.org/alpine/edge/testing"
# Add first mirror (CDN)
APKREPOSOPTS="-1"
# Create user 'brad' with real name 'brad' and password 'admin'
USEROPTS="-a -u brad -G users -s /bin/ash -c brad brad"
PASSWOPTS="admin"
# Create admin user
USEROPTS="-a -u -g audio,video,netdev juser"
#USERSSHKEY="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOIiHcbg/7ytfLFHUNLRgEAubFz/13SwXBOM/05GNZe4 juser@example.com"
#USERSSHKEY="https://example.com/juser.keys"
# Install Openssh
SSHDOPTS=openssh
#ROOTSSHKEY="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOIiHcbg/7ytfLFHUNLRgEAubFz/13SwXBOM/05GNZe4 juser@example.com"
#ROOTSSHKEY="https://example.com/juser.keys"
# Use chrony
NTPOPTS=chrony
# Use openntpd
# NTPOPTS="openntpd"
NTPOPTS=chronyd
# Disk setup will be interactive
DISKOPTS="-i"
# Use /dev/sda as a sys disk
DISKOPTS="-m sys /dev/sda"
# DISKOPTS=none
# Install vim, git, i3, and required packages for i3
PKGSOPTS="vim git i3wm i3lock i3status dmenu xf86-video-vesa xf86-input-evdev"
# Setup storage with label APKOVL for config storage
#LBUOPTS="LABEL=APKOVL"
LBUOPTS=none
# Configure xinitrc to start i3 and run setup-xorg-base script
POSTINSTALLOPTS="
apk add setup-xorg-base
setup-xorg-base
echo 'exec i3' > /home/brad/.xinitrc
chown brad:users /home/brad/.xinitrc
"
#APKCACHEOPTS="/media/LABEL=APKOVL/cache"
APKCACHEOPTS=none