Created
May 10, 2021 12:23
-
-
Save maxrodrigo/dad6072544454986feea20677f42b07d to your computer and use it in GitHub Desktop.
Alpine Raspberry Pi Setup Answer File
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Keyboard layout and variant | |
KEYMAPOPTS="<KEYBOARDLAYOUT> <KEYBOARDVARIANT>" | |
# Hostname | |
HOSTNAMEOPTS="-n <HOSTNAME>" | |
# Network interfaces | |
INTERFACESOPTS="auto lo | |
iface lo inet loopback | |
auto eth0 | |
iface eth0 inet static | |
address <IP> | |
netmask <NETMASK> | |
gateway <GATEWAY> | |
" | |
# DNS | |
DNSOPTS="-d local <DNS>" | |
# Timezone | |
TIMEZONEOPTS="-z UTC" | |
# Proxy | |
PROXYOPTS="none" | |
# Add a random mirror for apk repository | |
APKREPOSOPTS="-r" | |
# Install OpenSSH | |
SSHDOPTS="-c openssh" | |
# NTP | |
NTPOPTS="-c chrony" | |
# Setup data disk | |
DISKOPTS="-m data /media/mmcblk0p1/data" | |
# Setup lbu config storage | |
LBUOPTS="mmcblk0p1" | |
# Setup apk cache | |
APKCACHEOPTS="/media/mmcblk0p1/cache" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment