diff options
author | Chad Smith <chad.smith@canonical.com> | 2018-02-08 20:57:23 -0700 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2018-02-08 20:57:23 -0700 |
commit | 86d2fc7f515f70a5117f00baf701a0bed6310b3e (patch) | |
tree | cf973b320f8477ce13e953ea8219d43d82ada900 /udev | |
parent | 0d30c9575f9e3e4cfb7771cee992e7f669ac3e76 (diff) | |
download | vyos-cloud-init-86d2fc7f515f70a5117f00baf701a0bed6310b3e.tar.gz vyos-cloud-init-86d2fc7f515f70a5117f00baf701a0bed6310b3e.zip |
cli: fix cloud-init status to report running when before result.json
Fix various corner cases for cloud-init status subcommand. Report
'runnning' under the following conditions:
- No /run/cloud-init/result.json file exists
- Any stage in status.json is unfinished
- status.json reports a non-null stage it is in progress on
LP: #1747965
Diffstat (limited to 'udev')
0 files changed, 0 insertions, 0 deletions