From c711db100c7e172be3046977f34103a3bcc37c81 Mon Sep 17 00:00:00 2001 From: Brett Holman Date: Mon, 11 Dec 2023 12:17:52 -0600 Subject: [PATCH] fixup! doc: Document boot status meaning (#4670) --- doc/rtd/howto/status.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/rtd/howto/status.rst b/doc/rtd/howto/status.rst index ec93a241bf92..addc542dc55d 100644 --- a/doc/rtd/howto/status.rst +++ b/doc/rtd/howto/status.rst @@ -61,21 +61,21 @@ See the list of all possible reported statuses: Cloud-init enablement status ---------------------------- -Separate from the current running status described above, cloud-init can also +Separately from the current running status described above, cloud-init can also report how it was disabled or enabled. This can be viewed by checking the `boot_status_code` in ``cloud-init status --long``, which may contain any of the following states: -- ``'unknown'``: ``ds-identify`` hasen't run yet to determine if cloud-init should +- ``'unknown'``: ``ds-identify`` has not run yet to determine if cloud-init should be run during this boot -- ``'disabled-by-marker-file'``: /etc/cloud/cloud-init.disabled exists +- ``'disabled-by-marker-file'``: :file:`/etc/cloud/cloud-init.disabled` exists which prevents cloud-init from ever running - ``'disabled-by-generator'``: ``ds-identify`` determined no applicable cloud-init datasources - ``'disabled-by-kernel-cmdline'``: kernel cmdline contained cloud-init=disabled -- ``'disabled-by-environment-variable'``: environment variable KERNEL_CMDLINE - contained cloud-init=disabled +- ``'disabled-by-environment-variable'``: environment variable + ``KERNEL_CMDLINE`` contained ``cloud-init=disabled`` - ``'enabled-by-kernel-cmdline'``: kernel cmdline contained cloud-init=enabled - ``'enabled-by-generator'``: ``ds-identify`` detected possible cloud-init