summaryrefslogtreecommitdiff
path: root/instance_configs.cfg.distro
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-01-20 21:41:00 +0700
committerShulhan <ms@kilabit.info>2026-01-20 21:41:25 +0700
commit91105f81452f12e9dcf95a6dab78c838726c51e7 (patch)
treefe3a5cec168c762272e97ab14278f11dda1fdb72 /instance_configs.cfg.distro
parentd0cf62cee3220262b35811d18ae98cec52f73f6f (diff)
downloadgoogle-guest-agent-91105f81452f12e9dcf95a6dab78c838726c51e7.tar.xz
all: add custom instance configs
In the instance_configs.cfg.distro, we disable cloud logging to prevent duplicate logs and disable boto config at boot. Most distro disable boto config by default.
Diffstat (limited to 'instance_configs.cfg.distro')
-rw-r--r--instance_configs.cfg.distro11
1 files changed, 11 insertions, 0 deletions
diff --git a/instance_configs.cfg.distro b/instance_configs.cfg.distro
new file mode 100644
index 0000000..038464c
--- /dev/null
+++ b/instance_configs.cfg.distro
@@ -0,0 +1,11 @@
+[Core]
+# Prevent duplicate log in Logs Explorer.
+# The ops-agent, that consume systemd journal, will forward the logs.
+cloud_logging_enabled = false
+
+[InstanceSetup]
+# Skip creating the boto config for using Google Cloud Storage.
+# Most of enteprise distro disable it [1].
+#
+# [1]: https://github.com/GoogleCloudPlatform/compute-image-tools/blob/e1b3a5f6e81eab3e79b332975c1a4eb0ee7ead54/daisy_workflows/image_build/enterprise_linux/kickstart/rhel_10.cfg
+set_boto_config = false