Skip to content

Instantly share code, notes, and snippets.

@mbucc
Created May 2, 2019 23:34
Show Gist options
  • Save mbucc/9f7e56abeeb11084c52a3f30a57ec1c6 to your computer and use it in GitHub Desktop.
Save mbucc/9f7e56abeeb11084c52a3f30a57ec1c6 to your computer and use it in GitHub Desktop.
Alpine Linux 3.8.4 answerfile and usercfg.txt for Raspberry Pi
# Example answer file for setup-alpine script
# If you don't want to use a certain option, then comment it out
# See https://wiki.alpinelinux.org/wiki/Alpine_setup_scripts for option values.
# Use US layout with US variant
KEYMAPOPTS="us us"
# Set hostname to alpine-test
#HOSTNAMEOPTS="-n alpine-test"
HOSTNAMEOPTS="-n tallis"
# Contents of /etc/network/interfaces
INTERFACESOPTS="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address 192.168.30.11
netmask 255.255.255.0
gateway 192.168.30.1
"
# Search domain of example.com, Google public nameserver
#DNSOPTS="-d example.com 8.8.8.8"
DNSOPTS="-d eventarelli.com -n 192.168.30.1"
# Set timezone to UTC
#TIMEZONEOPTS="-z UTC"
TIMEZONEOPTS="-z US/Eastern"
# set http/ftp proxy
#PROXYOPTS="http://webproxy:8080"
PROXYOPTS="none"
# Add a random mirror
APKREPOSOPTS="-r"
# Install Openssh
SSHDOPTS="-c openssh"
# Use openntpd
#NTPOPTS="-c openntpd"
NTPOPTS="-c chrony"
# Use /dev/sda as a data disk
#DISKOPTS="-m data /dev/sda"
# Setup in /media/sdb1
# "Where to store configs?"
# This gives an error but script completes; see http://lists.alpinelinux.org/alpine-devel/2151.html
#LBUOPTS="/media/sdb1"
LBUOPTS="none"
#APKCACHEOPTS="/media/sdb1/cache"
APKCACHEOPTS="none"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment