From 20bd192db661e519b860a0799de04c663ceae0c6 Mon Sep 17 00:00:00 2001 From: Chad Smith Date: Tue, 18 Jan 2022 20:46:14 -0700 Subject: cmd: status and cloud-id avoid change in behavior for 'not run' (#1197) snapd currrently looks for 'not run' from cloud-init status[1]. Avoid changing this behavior and revert "not-run" value to "not run". This avoids having to get snapd to change implementation and release updates as far back as Bionic to handle a hyphenated not-run string. [1]: https://github.com/snapcore/snapd/blob/master/sysconfig/\ cloudinit.go#L802 --- doc/man/cloud-id.1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/man/cloud-id.1 b/doc/man/cloud-id.1 index c56587c8..cb500189 100644 --- a/doc/man/cloud-id.1 +++ b/doc/man/cloud-id.1 @@ -9,7 +9,7 @@ cloud-id \- Report the canonical cloud-id for this instance .SH DESCRIPTION cloud-id is the lowercase name of the cloud datasource discovered. -The cloud-id will be 'not-run' when systemd generator has not run yet. +The cloud-id will be 'not run' when systemd generator has not run yet. The cloud-id will be 'disabled' when cloud-init is disabled or when ds-identify did not find a valid datasource. -- cgit v1.2.3