From 1e60e4320e02c7a403b2d6285292119129b88aa2 Mon Sep 17 00:00:00 2001 From: igorpeshansky Date: Thu, 29 Apr 2021 13:06:43 -0400 Subject: [PATCH] Fix deprecated logging agent install script. See https://cloud.google.com/logging/docs/agent/installation for the latest installation instructions. --- gce/startup-script.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/gce/startup-script.sh b/gce/startup-script.sh index ebeb5fc..e6fbeda 100755 --- a/gce/startup-script.sh +++ b/gce/startup-script.sh @@ -13,9 +13,9 @@ # limitations under the License. # [START getting_started_gce_startup_script] -# Install Stackdriver logging agent -curl -sSO https://dl.google.com/cloudagents/install-logging-agent.sh -bash install-logging-agent.sh +# Install Google Cloud logging agent +curl -sSO https://dl.google.com/cloudagents/add-logging-agent-repo.sh +bash add-logging-agent-repo.sh --also-install # Install dependencies apt-get update && apt-get -y upgrade && apt-get install -y autoconf bison \