diff options
author | Chad Smith <chad.smith@canonical.com> | 2022-01-13 10:12:23 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-13 11:12:23 -0600 |
commit | 0de7acb194dc15650eee1d5332efed82ef162f84 (patch) | |
tree | e223562b3031a82894ceda71d6361aad9f570732 /upstart/cloud-init-blocknet.conf | |
parent | e3f3485d875f021915654bf2b64678e151a8d6f6 (diff) | |
download | vyos-cloud-init-0de7acb194dc15650eee1d5332efed82ef162f84.tar.gz vyos-cloud-init-0de7acb194dc15650eee1d5332efed82ef162f84.zip |
cli: cloud-id report not-run or disabled state as cloud-id (#1162)
This fix has two elements:
- cloud-init status will not correctly report 'not-run' prior to systemd
generator running. Only report "disabled" when generator has run
and /run/cloud-init/disabled exists.
- Expose not-run and disabled state in cloud-id responses
- Add unique error codes from cloud-id for error, disabled and not-run.
The new cloud-id exit codes:
0: success
1: error
2: cloud-init is in disabled state
3: cloud-init generator has not run yet
Diffstat (limited to 'upstart/cloud-init-blocknet.conf')
0 files changed, 0 insertions, 0 deletions