From f98d998151ebaeb4e563f1a179610d600ad6d757 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs?= Date: Thu, 8 Apr 2021 10:21:21 -0500 Subject: initial commit --- bootstrap.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 bootstrap.sh (limited to 'bootstrap.sh') diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100644 index 0000000..f9da047 --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +# change ssh_key, ssh_key_name to reflect your current setup +SSH_KEY=$(cat ~/.ssh/id_rsa.pub) +SSH_KEY_NAME=$(whoami) + +sed -i.bak \ + -e "s#SSH_KEY=.*#SSH_KEY=${SSH_KEY}#g" \ + -e "s#SSH_KEY_NAME=.*#SSH_KEY_NAME=${SSH_KEY_NAME}#g" \ + "$(dirname "$0")/config.env" -- cgit v1.2.3