Clone this repo:
  1. 1d0cca6 Move guest agent binary paths into per-OS source files. by Andras Kerekes · 8 days ago upstream/main 20261113.00
  2. 7977b15 Skip empty netplan drop-in writes and support Debian 12+ prefix. by Saswat Padhi · 9 days ago
  3. 78d7acc Move the FQDN hostname lookup into per-OS hostname source files. by Andras Kerekes · 11 days ago 20261110.01 20261111.00
  4. 87b334d Treat systemd-networkd configuring state as managed in IsManaging. by Guest OS Images · 11 days ago 20261110.00
  5. ddb0319 Move plugin manager OS-specific checks into per-OS source files. by Andras Kerekes · 3 weeks ago 20261105.00

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