From e56d4c6c09b0cfd4af1a2ebf6b5f7ffc9bd500e2 Mon Sep 17 00:00:00 2001 From: Ibrahim Mkusa Date: Sat, 16 Nov 2024 23:03:34 -0500 Subject: [PATCH] debian image build at a good state --- aws-export.sh | 5 +++++ scripts/initial.sh | 9 +++++---- 2 files changed, 10 insertions(+), 4 deletions(-) create mode 100755 aws-export.sh diff --git a/aws-export.sh b/aws-export.sh new file mode 100755 index 0000000..b75aa97 --- /dev/null +++ b/aws-export.sh @@ -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="" diff --git a/scripts/initial.sh b/scripts/initial.sh index e906b1c..7bb0a68 100644 --- a/scripts/initial.sh +++ b/scripts/initial.sh @@ -6,11 +6,12 @@ IFS=$'\n\t' case $ID in "debian" ) - sudo apt update -y && sudo apt upgrade -y - sudo apt install vim git curl tmux stow ranger + sudo apt-get update -y && sudo apt-get upgrade -y + sudo apt-get install -y vim git curl tmux stow ranger cd /home/admin/ - git clone git@github.com:iskm/dots.git - mv .bashrc .bashrc.bak; mv .bash_profile .bash_profile.bak + git clone https://github.com/iskm/dots.git + if [[ -e .bashrc ]]; then mv .bashrc .bashrc.bak; fi + if [[ -e .bash_profile ]]; then mv .bash_profile .bash_profile.bak; fi cd dots stow bash bin git shellenv tmux vim ranger ;;