diff options
author | EuAndreh <eu@euandre.org> | 2019-06-08 18:07:29 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2019-06-08 18:07:29 -0300 |
commit | 704614e4f8484339cc5aab52461f759e40e01674 (patch) | |
tree | 1232721ab6b4480f2af00d023d32865a47db88c7 | |
parent | Format vps.tf (terraform linter offense) (diff) | |
download | server-704614e4f8484339cc5aab52461f759e40e01674.tar.gz server-704614e4f8484339cc5aab52461f759e40e01674.tar.xz |
Remove unused $PUBLIC_KEY_ONLY
Thanks ShellCheck.
-rwxr-xr-x | scripts/ci/setup.sh | 1 |
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 |