From 6ed9ebf85f72b7d74729dcb7dd50aa002fae72f7 Mon Sep 17 00:00:00 2001 From: Evgeni Golov Date: Fri, 8 Nov 2024 10:53:03 +0100 Subject: [PATCH] hide "dnf needs-restarting" on Satellite (#3432) foreman-maintain does hint --- guides/common/modules/snip_steps-needs-reboot.adoc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/guides/common/modules/snip_steps-needs-reboot.adoc b/guides/common/modules/snip_steps-needs-reboot.adoc index ee184ae0ead..41b12a2cc66 100644 --- a/guides/common/modules/snip_steps-needs-reboot.adoc +++ b/guides/common/modules/snip_steps-needs-reboot.adoc @@ -1,3 +1,4 @@ +ifndef::satellite[] . Determine if the system needs a reboot: ifdef::foreman-deb[] + @@ -15,6 +16,10 @@ ifndef::foreman-deb[] ---- . If the previous command told you to reboot, then reboot the system: endif::[] +endif::[] +ifdef::satellite[] +. If the previous command told you to reboot, then reboot the system: +endif::[] + [options="nowrap"] ----