From aeec4299c8746bff6b7c0fbae8b98b20e8205031 Mon Sep 17 00:00:00 2001 From: Brett Holman Date: Wed, 18 Sep 2024 14:17:23 -0700 Subject: [PATCH] chore: use stage name in cloud-init log for better clarity --- cloudinit/cmd/main.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cloudinit/cmd/main.py b/cloudinit/cmd/main.py index f3725868abe9..d9a99063eeeb 100644 --- a/cloudinit/cmd/main.py +++ b/cloudinit/cmd/main.py @@ -1277,15 +1277,15 @@ def sub_main(args): report_on = True if name == "init": if args.local: - rname, rdesc = ("init-local", "searching for local datasources") + rname, rdesc = ("local", "searching for local datasources") else: rname, rdesc = ( - "init-network", + "network", "searching for network datasources", ) elif name == "modules": rname, rdesc = ( - "modules-%s" % args.mode, + args.mode, "running modules for %s" % args.mode, ) elif name == "single":