aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2019-06-08 18:07:29 -0300
committerEuAndreh <eu@euandre.org>2019-06-08 18:07:29 -0300
commit704614e4f8484339cc5aab52461f759e40e01674 (patch)
tree1232721ab6b4480f2af00d023d32865a47db88c7 /scripts
parentFormat vps.tf (terraform linter offense) (diff)
downloadserver-704614e4f8484339cc5aab52461f759e40e01674.tar.gz
server-704614e4f8484339cc5aab52461f759e40e01674.tar.xz
Remove unused $PUBLIC_KEY_ONLY
Thanks ShellCheck.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ci/setup.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/scripts/ci/setup.sh b/scripts/ci/setup.sh
index b23b48f..3423cd8 100755
--- a/scripts/ci/setup.sh
+++ b/scripts/ci/setup.sh
@@ -33,7 +33,6 @@ export SSH_SERVER_PUBLIC_KEY
# https://stackoverflow.com/questions/24963705/is-there-an-escape-character-for-envsubst
export DOLLAR='$'
-PUBLIC_KEY_ONLY="$(awk '{print $2}' < ./secrets/ssh/vps-box-server.pub)"
echo "${TLD},${PINNED_IP} ssh-rsa $(echo $SSH_SERVER_PUBLIC_KEY | awk '{print $2}')" > ./generated-known-hosts.txt
envsubst < ./ssh.env.conf >> ~/.ssh/config
envsubst < ./hosts.env > ./hosts