Skip to content

Commit ee4672f

Browse files
committed
OSDOCS-11188: adds note about greenboot.conf customization persistence MicroShift
1 parent 3f00bc6 commit ee4672f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

modules/microshift-greenboot-dir-structure.adoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,11 @@ Returning a nonzero exit code from any script means that script has failed. Gree
3939
* `/etc/greenboot/green.d` contains scripts that run after Greenboot has declared the start successful.
4040

4141
* `/etc/greenboot/red.d` contains scripts that run after Greenboot has declared the startup as failed, including the `40_microshift_pre_rollback.sh` prerollback script. This script is executed right before a system rollback. The script performs {microshift-short} pod and OVN-Kubernetes cleanup to avoid potential conflicts after the system is rolled back to a previous version.
42+
43+
[IMPORTANT]
44+
====
45+
If you customize the values of any environment variable in the `/etc/greenboot/greenboot.conf` file, these changes can be lost when the greenboot RPM package is updated or downgraded.
46+
47+
* To retain customizations when building system images with {microshift-short}, add the `greenboot.conf` file to a blueprint.
48+
* To retain customizations when using an RPM installation, apply changes to the `greenboot.conf` file after you install {microshift-short} and greenboot RPMs.
49+
====

0 commit comments

Comments
 (0)