summaryrefslogtreecommitdiff
path: root/setup-alpine.in
diff options
context:
space:
mode:
Diffstat (limited to 'setup-alpine.in')
-rw-r--r--setup-alpine.in43
1 files changed, 27 insertions, 16 deletions
diff --git a/setup-alpine.in b/setup-alpine.in
index 21a989b..d393c5d 100644
--- a/setup-alpine.in
+++ b/setup-alpine.in
@@ -80,13 +80,14 @@ if [ -n "$CREATEANSWERFILE" ]; then
# 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=none
- # Set hostname to alpine-test
- HOSTNAMEOPTS="-n alpine-test"
+ # Set hostname to 'alpine'
+ HOSTNAMEOPTS=alpine
# Set device manager to mdev
- DEVDOPTS="mdev"
+ DEVDOPTS=mdev
# Contents of /etc/network/interfaces
INTERFACESOPTS="auto lo
@@ -98,29 +99,39 @@ if [ -n "$CREATEANSWERFILE" ]; then
"
# Search domain of example.com, Google public nameserver
- DNSOPTS="-d example.com 8.8.8.8"
+ # DNSOPTS="-d example.com 8.8.8.8"
# Set timezone to UTC
- TIMEZONEOPTS="-z UTC"
+ #TIMEZONEOPTS="UTC"
+ TIMEZONEOPTS=none
# set http/ftp proxy
- PROXYOPTS="http://webproxy:8080"
+ #PROXYOPTS="http://webproxy:8080"
+ PROXYOPTS=none
- # Add a random mirror
- APKREPOSOPTS="-r"
+ # Add first mirror (CDN)
+ APKREPOSOPTS="-1"
+
+ # Create admin user
+ USEROPTS="-a -u -g audio,video,netdev -k https://example.com/juser.keys juser"
# Install Openssh
- SSHDOPTS="-c openssh"
+ SSHDOPTS=openssh
# Use openntpd
- NTPOPTS="-c openntpd"
+ # NTPOPTS="openntpd"
+ NTPOPTS=none
+
+ # Use /dev/sda as a sys disk
+ # DISKOPTS="-m sys /dev/sda"
+ DISKOPTS=none
- # Use /dev/sda as a data disk
- DISKOPTS="-m data /dev/sda"
+ # Setup storage with label APKOVL for config storage
+ #LBUOPTS="LABEL=APKOVL"
+ LBUOPTS=none
- # Setup in /media/sdb1
- LBUOPTS="/media/sdb1"
- APKCACHEOPTS="/media/sdb1/cache"
+ #APKCACHEOPTS="/media/LABEL=APKOVL/cache"
+ APKCACHEOPTS=none
__EOF__
echo "Answer file $CREATEANSWERFILE has been created. Please add or remove options as desired in that file"