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.
This commit is contained in:
Christian Kellner 2022-08-03 19:07:49 +02:00 committed by Tomáš Hozza
parent 24ad788d3c
commit a3bc5f7692

View file

@ -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():