Skip to content

Commit

Permalink
fixup! Add an action to restore original grub configuration on revert
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Sandakov committed Mar 14, 2024
1 parent d9bf8c4 commit b63e047
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pleskdistup/actions/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,12 @@ class RevertChangesInGrub(action.ActiveAction):
grub_configs_paths: typing.List[str]

def __init__(self):
self.name = "revert changes in grub made by elivate"
self.name = "revert changes in GRUB made by ELevate"
self.grub_configs_paths = [
"/boot/grub2/grub.cfg",
"/boot/grub2/grubenv",
"/boot/grub/grub.cfg",
"/boot/grub/grubenv",
]

def _prepare_action(self) -> action.ActionResult:
Expand Down

0 comments on commit b63e047

Please sign in to comment.