Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically rebuild DirectAdmin during elevation #16

Merged
merged 4 commits into from
Jun 6, 2024

Conversation

Monstrofil
Copy link
Collaborator

This PR adds automatic DirectAdmin build execution on first boot after elevation.

Copy link

github-actions bot commented Jun 5, 2024

Thank you for contributing to the Leapp project!

Please note that every PR needs to comply with the Leapp Guidelines and must pass all tests in order to be mergable.
If you want to re-run tests or request review, you can use following commands as a comment:

  • leapp-ci build to run copr build and e2e tests in OAMG CI
  • review please to notify leapp developers of review request

Please open ticket in case you experience technical problem with the CI. (RH internal only)

Note: In case there are problems with tests not being triggered automatically on new PR/commit or pending for a long time, please consider rerunning the CI by commenting leapp-ci build (might require several comments). If the problem persists, contact leapp-infra.

@prilr prilr merged commit ab44301 into cloudlinux Jun 6, 2024
1 check passed
@prilr prilr deleted the clos-directadmin-elevation branch June 17, 2024 11:12
prilr pushed a commit that referenced this pull request Aug 30, 2024
Previous efibootorderfix versions were incorrectly specifying the
partition number being passed to `efibootmgr`. This change makes that
more dynamic.

Also, in cases where `/boot/efi` is an actual md mirror, this PR adds
the logic to add EFI boot targets for each of the mirror plexes, instead
of just a single plex of the mirror, so better repliates EFI boot
targets as set up by OS distro installs which automatically make use
of multiple plexes.

Example output after a successful upgrade - note the duplicate
(mirrored) boot entries for "Rocky Linux":

```
BootCurrent: 0005
Timeout: 3 seconds
BootOrder: 0005,0004,0002,0003
Boot0002* UEFI: Built-in EFI Shell	VenMedia(5023b95c-db26-429b-a648-bd47664c8012)..BO
Boot0003* UEFI: PXE IP4 Cisco 1GigE I350 LOM	PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)/MAC(d4789b4a161c,1)/IPv4(0.0.0.00.0.0.0,0,0)..BO
Boot0004* Rocky Linux	HD(3,GPT,3566f194-fa71-4539-9687-2b20f67841ed,0xa00800,0x80000)/File(\EFI\rocky\shimx64.efi)
Boot0005* Rocky Linux	HD(3,GPT,ad6e8abc-5728-4435-9b84-1c28cb5a18cf,0xa00800,0x80000)/File(\EFI\rocky\shimx64.efi)
```

(cherry picked from commit d7e5f72)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants