Avoid writing the private PEM key if MDS returns empty content for the endpoint.

PiperOrigin-RevId: 952446441
2 files changed
tree: 49d577c10fc537e4e9c250ad32751d4616f6f0f7
  1. build/
  2. cmd/
  3. internal/
  4. pkg/
  5. CONTRIBUTING.md
  6. go.mod
  7. go.sum
  8. LICENSE
  9. Makefile
  10. README.md
  11. version
README.md

Public Cloud Docs

Guest Agent for Google Compute Engine.

This repository contains the source code and packaging artifacts for the Google guest agent. These components are installed on Windows and Linux GCE VMs in order to enable GCE platform features.

Building Guest Agent

In the codebase there's a GNU Make based build system with targets to build and test the guest agent.

In order to build both the guest-agent and core_plugins, run

make

To build only one or the other, run the respective make target:

make build cmd/google_guest_agent/google_guest_agent
make build cmd/core_plugin/core_plugin

To run all the go tests, run:

make test

For more targets and info about the build system run:

make help