debian image build at a good state

This commit is contained in:
Ibrahim Mkusa 2024-11-16 23:03:34 -05:00
parent a1231e6137
commit e56d4c6c09
2 changed files with 10 additions and 4 deletions

5
aws-export.sh Executable file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env bash
# source this script after adding your aws credentials: . aws-export.sh
export AWS_ACCESS_KEY_ID=""
export AWS_SECRET_ACCESS_KEY=""

View File

@ -6,11 +6,12 @@ IFS=$'\n\t'
case $ID in case $ID in
"debian" ) "debian" )
sudo apt update -y && sudo apt upgrade -y sudo apt-get update -y && sudo apt-get upgrade -y
sudo apt install vim git curl tmux stow ranger sudo apt-get install -y vim git curl tmux stow ranger
cd /home/admin/ cd /home/admin/
git clone git@github.com:iskm/dots.git git clone https://github.com/iskm/dots.git
mv .bashrc .bashrc.bak; mv .bash_profile .bash_profile.bak if [[ -e .bashrc ]]; then mv .bashrc .bashrc.bak; fi
if [[ -e .bash_profile ]]; then mv .bash_profile .bash_profile.bak; fi
cd dots cd dots
stow bash bin git shellenv tmux vim ranger stow bash bin git shellenv tmux vim ranger
;; ;;