mirror of
https://github.com/openshift/openshift-docs.git
synced 2026-02-05 12:46:18 +01:00
28 lines
736 B
Plaintext
28 lines
736 B
Plaintext
// Module included in the following assemblies:
|
|
//
|
|
// * microshift_install_get_ready/microshift-greenboot.adoc
|
|
|
|
:_mod-docs-content-type: PROCEDURE
|
|
[id="greenboot-check-updates_{context}"]
|
|
= Checking updates with a health check script
|
|
|
|
Access the output of greenboot health check scripts in the system log after an update by using the following procedure.
|
|
|
|
.Procedure
|
|
|
|
* To access the result of update checks, run the following command:
|
|
+
|
|
[source,terminal]
|
|
----
|
|
$ sudo grub2-editenv - list | grep ^boot_success
|
|
----
|
|
+
|
|
--
|
|
.Example output for a successful update
|
|
[source,terminal]
|
|
----
|
|
boot_success=1 <1>
|
|
----
|
|
<1> If your command returns `boot_success=0`, either the greenboot health check is still running, or the update is a failure.
|
|
--
|