tripleo-heat-templates/releasenotes/notes/leapp-pre-reboot-command-7d7040d80ff132e4.yaml
Lukas Bezdicka a2c07f0526 [ffwd3] Ability to run scripts before reboot
In some cases depending on the environments we need to run
workarounds right before rebooting into Leapp Upgrade. We
now provide LeappPreRebootCommand which can be fed shell
script do do so.

Example on machine with nonworking console params user can
set in system_upgrade.yaml:
parameter_defaults:
  LeappPreRebootCommand:
    grubby --update-kernel=ALL --remove-args=console=ttyS0,115200n81
    grubby --update-kernel=ALL --remove-args=console=ttyS0

Resolves: rhbz#2196288
Change-Id: I1e30b3c00a56cc244ee1c5730ba22e1e33788bca
2023-06-22 11:57:19 +02:00

9 lines
297 B
YAML

---
features:
- |
Added LeappPreRebootCommand parameter to the tripleo-packages.
This is a list of commands to be executed just before rebooting the node
to perform the leapp upgrade.
This allows, for example, to remove kernel parameters to avoid affecting
the leapp reboot.