From 172dec0775fb2f7a1a6744a6db3dcd2331ff98e3 Mon Sep 17 00:00:00 2001 From: Javi Polo Date: Mon, 23 Sep 2024 06:33:17 -0400 Subject: [PATCH] RHELAI-1474 - Install Google Ops Agent Signed-off-by: Javi Polo --- training/cloud/gcp/cloud-setup.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/training/cloud/gcp/cloud-setup.sh b/training/cloud/gcp/cloud-setup.sh index 4de24996..d12d495e 100755 --- a/training/cloud/gcp/cloud-setup.sh +++ b/training/cloud/gcp/cloud-setup.sh @@ -27,6 +27,11 @@ dnf install -y --nobest \ vim mv /etc/selinux.tmp /etc/selinux +# Install Google Ops Agent +curl -sSo /tmp/add-google-cloud-ops-agent-repo.sh https://dl.google.com/cloudagents/add-google-cloud-ops-agent-repo.sh +bash /tmp/add-google-cloud-ops-agent-repo.sh --also-install --remove-repo +rm /tmp/add-google-cloud-ops-agent-repo.sh + # rpm-state is needed to remove microcode_ctl mkdir /var/lib/rpm-state dnf remove -y \