diff --git a/net/gce.sh b/net/gce.sh index 0e7a971df8..9900a2dbd2 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-iftop.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