From a3bc5f7692d054d2457bffe3dde5f0ffb43ae8a2 Mon Sep 17 00:00:00 2001 From: Christian Kellner Date: Wed, 3 Aug 2022 19:07:49 +0200 Subject: [PATCH] stages/gcp.guest-agent.conf: warning -> info Inform when a new guest-agent configuration file is created, but remove the warning prefix, since it is perfectly fine if the file does not yet exist. --- stages/org.osbuild.gcp.guest-agent.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stages/org.osbuild.gcp.guest-agent.conf b/stages/org.osbuild.gcp.guest-agent.conf index afe1bfd1..22f67b22 100755 --- a/stages/org.osbuild.gcp.guest-agent.conf +++ b/stages/org.osbuild.gcp.guest-agent.conf @@ -260,7 +260,7 @@ def main(tree, options): with open(filepath, "r", encoding="utf-8") as f: parser.readfp(f) except FileNotFoundError: - print(f"Warning: guest-agent configuration file '{filepath}' does not exist, will create it.") + print(f"Creating new guest-agent configuration file at '{filepath}'.") os.makedirs(instance_config_dir, exist_ok=True) for section_id, section_content in config.items():