From 1bb1be20644915cbba2d92b1fe43c4472fc9ef82 Mon Sep 17 00:00:00 2001 From: velvettear Date: Tue, 27 Aug 2024 13:05:30 +0200 Subject: [PATCH] update script --- alpine_install.sh | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/alpine_install.sh b/alpine_install.sh index 952b6f4..bd6eb8d 100755 --- a/alpine_install.sh +++ b/alpine_install.sh @@ -7,7 +7,7 @@ swappiness="25" tmpfs_size="1G" repository_protocol="https" -repository_version="v3.18" +repository_version="v3.20" # execution printf "|>> executing alpine install script...\n" @@ -50,8 +50,7 @@ apk add --force-refresh --no-cache --progress \ unzip \ rsync \ dropbear \ - openssh-client \ - rxvt-unicode-terminfo + openssh-client read -p "|> enter additional packages to install: " packages [[ "$packages" ]] && packages="$(printf "$packages" | tr '\n' ' ')" && apk add --force-refresh --no-cache --progress $packages @@ -120,6 +119,14 @@ sed -i 's/keyword -docker -jail -lxc -prefix -systemd-nspawn -vserver/keyword -d printf "|> remounting '/etc/fstab' entries...\n" mount -a +printf "|> configuring git...\n" +git config --global user.name "velvettear" +git config --global user.email "daniel.sommer@velvettear.de" +git config --global credential.helper store +sudo -u "$user" git config --global user.name "velvettear" +sudo -u "$user" git config --global user.email "daniel.sommer@velvettear.de" +sudo -u "$user" git config --global credential.helper store + printf "|> customizing environment...\n" git clone -b "lxc-alpine" "https://git.velvettear.de/velvettear/etc.git" "/etc/velvettear" chown -R "$user":users "/etc/velvettear"