File tree Expand file tree Collapse file tree 1 file changed +7
-6
lines changed
Expand file tree Collapse file tree 1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -8,20 +8,21 @@ sudo /usr/share/google/safe_format_and_mount \
88
99# Install google-fluentd which pushes application log files up into the Google
1010# Cloud Logs Monitor.
11- EXPECTED_SHA256=" 48a50746b23c1deb7ec4b5e377631e2c77b95ecada5eda2bc8986a1e04359141 ./google-fluentd-install.sh"
12- curl -sSO https://storage.googleapis.com/signals-agents/logging/google-fluentd-install.sh
11+ AGENT_INSTALL_SCRIPT=" install-logging-agent.sh"
12+ EXPECTED_SHA256=" 07ca6e522885b9696013aaddde48bf2675429e57081c70080a9a1364a411b395 ./${AGENT_INSTALL_SCRIPT} "
13+ curl -sSO https://dl.google.com/cloudagents/${AGENT_INSTALL_SCRIPT}
1314if ! echo " ${EXPECTED_SHA256} " | sha256sum --quiet -c; then
14- echo " Got google-fluentd-install.sh with sha256sum "
15- sha256sum ./google-fluentd-install.sh
15+ echo " Got ${AGENT_INSTALL_SCRIPT} with sha256sum "
16+ sha256sum ./${AGENT_INSTALL_SCRIPT}
1617 echo " But expected:"
1718 echo " ${EXPECTED_SHA256} "
18- echo " google-fluentd-install.sh may have been updated, verify the new sum at"
19+ echo " ${AGENT_INSTALL_SCRIPT} may have been updated, verify the new sum at"
1920 echo " https://cloud.google.com/logging/docs/agent/installation and update"
2021 echo " this script with the new sha256sum if necessary."
2122 exit 1
2223fi
2324
24- sudo bash ./google-fluentd-install.sh
25+ sudo bash ./${AGENT_INSTALL_SCRIPT}
2526cat > /tmp/ct-info.conf << EOF
2627<source>
2728 type tail
You can’t perform that action at this time.
0 commit comments