From 5de841dda1a293ac4e37f4cb73798537c6481af8 Mon Sep 17 00:00:00 2001 From: brad Date: Fri, 31 Mar 2023 01:51:23 -0500 Subject: [PATCH] added directory for alpine configs --- .bash_aliases | 2 +- alpine/answer.cfg | 53 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 54 insertions(+), 1 deletion(-) create mode 100644 alpine/answer.cfg diff --git a/.bash_aliases b/.bash_aliases index 9ad1146..95e1efc 100755 --- a/.bash_aliases +++ b/.bash_aliases @@ -26,7 +26,7 @@ alias please='sudo' # sometimes it feels good alias fucking='sudo' # Install bat. It's better. -alias cat='batcat' +alias cat='bat' # Source this very file alias src='source ~/.bashrc' # Big Boy edit something diff --git a/alpine/answer.cfg b/alpine/answer.cfg new file mode 100644 index 0000000..861fd29 --- /dev/null +++ b/alpine/answer.cfg @@ -0,0 +1,53 @@ +# Use US layout with US variant +KEYMAPOPTS="us us" + +# Set hostname to 'alpine' +HOSTNAMEOPTS=alpine + +# Set device manager to mdev +DEVDOPTS=mdev + +# Contents of /etc/network/interfaces +INTERFACESOPTS="auto lo +iface lo inet loopback + +auto eth* +iface eth* inet dhcp +" + +# Set timezone to America/Chicago +TIMEZONEOPTS="America/Chicago" + +# Set http/ftp proxy +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" + +# Create user 'brad' with real name 'brad' and password 'admin' +USEROPTS="-a -u brad -G users -s /bin/ash -c brad brad" +PASSWOPTS="admin" + +# Install Openssh +SSHDOPTS=openssh + +# Use chrony +NTPOPTS=chrony + +# Disk setup will be interactive +DISKOPTS="-i" + +# Install vim, git, i3, and required packages for i3 +PKGSOPTS="vim git i3wm i3lock i3status dmenu xf86-video-vesa xf86-input-evdev" + +# Configure xinitrc to start i3 and run setup-xorg-base script +POSTINSTALLOPTS=" +setup-xorg-base +echo 'exec i3' > /home/brad/.xinitrc +chown brad:users /home/brad/.xinitrc +" +