Clone this repo:
  1. 85aa64f [MWLID] Don't return an error on `GetStatus` if `lastError` is not nil. by Andrew Li · 3 weeks ago upstream/main 20260921.00
  2. 377aca5 [MWLID] Initialize `galog`. by Andrew Li · 3 weeks ago
  3. 2c3e02c Fix TestCheckExpiredKey to use valid OpenSSH authorized key format by Guest OS Images · 4 weeks ago 20260917.00
  4. cd934ae Force network configuration reload when another manager rolls back state. by Andras Kerekes · 6 weeks ago 20260902.00 20260903.00
  5. 20a6124 Update go mod dependencies. by Andrew Li · 6 weeks ago

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