From f4658f3be28c2c6fc08db16b4f16259400fa0afd Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 30 Oct 2019 19:41:18 -0700 Subject: [PATCH] Install ag on nodes (#6634) (#6638) automerge (cherry picked from commit 7bb224f54a4656f754619a5b96a221ba64192be0) --- net/gce.sh | 1 + net/scripts/install-ag.sh | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100755 net/scripts/install-ag.sh diff --git a/net/gce.sh b/net/gce.sh index 1f37ae09cd..545200d27d 100755 --- a/net/gce.sh +++ b/net/gce.sh @@ -718,6 +718,7 @@ $( create-solana-user.sh \ solana-user-authorized_keys.sh \ add-testnet-solana-user-authorized_keys.sh \ + install-ag.sh \ install-certbot.sh \ install-earlyoom.sh \ install-libssl-compatability.sh \ diff --git a/net/scripts/install-ag.sh b/net/scripts/install-ag.sh new file mode 100755 index 0000000000..70c43b0fb5 --- /dev/null +++ b/net/scripts/install-ag.sh @@ -0,0 +1,9 @@ +#!/usr/bin/env bash +# +set -ex + +[[ $(uname) = Linux ]] || exit 1 +[[ $USER = root ]] || exit 1 + +apt-get update +apt-get --assume-yes install silversearcher-ag