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 # Use US layout with US variant
KEYMAPOPTS="us us" # KEYMAPOPTS="us us"
KEYMAPOPTS=us us
# Set hostname to 'alpine' # Set hostname to 'alpine'
HOSTNAMEOPTS=alpine HOSTNAMEOPTS=burner
# Set device manager to mdev # Set device manager to mdev
DEVDOPTS=mdev DEVDOPTS=mdev
# Set timezone to America/Chicago # Contents of /etc/network/interfaces
TIMEZONEOPTS="America/Chicago" 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 PROXYOPTS=none
# Add mirrors (CDN) and enable all repositories, including edge # Add first mirror (CDN)
APKREPOSOPTS="http://dl-cdn.alpinelinux.org/alpine/v3.14/main APKREPOSOPTS="-1"
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"
# Create user 'brad' with real name 'brad' and password 'admin' # Create admin user
USEROPTS="-a -u brad -G users -s /bin/ash -c brad brad" USEROPTS="-a -u -g audio,video,netdev juser"
PASSWOPTS="admin" #USERSSHKEY="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOIiHcbg/7ytfLFHUNLRgEAubFz/13SwXBOM/05GNZe4 juser@example.com"
#USERSSHKEY="https://example.com/juser.keys"
# Install Openssh # Install Openssh
SSHDOPTS=openssh SSHDOPTS=openssh
#ROOTSSHKEY="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOIiHcbg/7ytfLFHUNLRgEAubFz/13SwXBOM/05GNZe4 juser@example.com"
#ROOTSSHKEY="https://example.com/juser.keys"
# Use chrony # Use openntpd
NTPOPTS=chrony # NTPOPTS="openntpd"
NTPOPTS=chronyd
# Disk setup will be interactive # Use /dev/sda as a sys disk
DISKOPTS="-i" DISKOPTS="-m sys /dev/sda"
# DISKOPTS=none
# Install vim, git, i3, and required packages for i3 # Setup storage with label APKOVL for config storage
PKGSOPTS="vim git i3wm i3lock i3status dmenu xf86-video-vesa xf86-input-evdev" #LBUOPTS="LABEL=APKOVL"
LBUOPTS=none
# Configure xinitrc to start i3 and run setup-xorg-base script #APKCACHEOPTS="/media/LABEL=APKOVL/cache"
POSTINSTALLOPTS=" APKCACHEOPTS=none
apk add setup-xorg-base
setup-xorg-base
echo 'exec i3' > /home/brad/.xinitrc
chown brad:users /home/brad/.xinitrc
"