-
Notifications
You must be signed in to change notification settings - Fork 871
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd: Don't write json status files for non-boot stages (#4478)
Don't use status_wrapper() for `cloud-init modules --mode init`. Both status.json and result.json are currently written when `cloud-init modules --mode init` is ran. This is unecessary since this is not a boot command used by cloud-init, and as a workaround for previous bugs related to this behavior this leaves behind unwanted keys in status.json. This aligns cloud-init code's behavior with documented behavior.
- Loading branch information
Showing
2 changed files
with
12 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters