by tbobm · 5y ago · 0 comments
The OS config mangement in practice is a daemon that polls for "guest policies" every 10 minutes. Their example policies will give you a good idea of what it does:
https://cloud.google.com/compute/docs/os-config-management/c...
Or better still, the `google_os_config_guest_policies` terraform resource:
https://registry.terraform.io/providers/hashicorp/google/lat...
(Essentially it's pretty basic stuff: configuring package repos, installing packages, running scripts, and copying artefacts).