Skip to content

Commit

Permalink
FIX Disablerepo cloudlinux-elevate during dnf update
Browse files Browse the repository at this point in the history
  • Loading branch information
ukablan-wpc committed Sep 26, 2024
1 parent 09cd157 commit 49a398c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cloudlinux7to8/actions/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def _post_action(self) -> action.ActionResult:
for file in self._find_kolab_repo_files():
leapp_configs.adopt_repositories(file)

util.logged_check_call(["/usr/bin/dnf", "-y", "update"])
util.logged_check_call(["/usr/bin/dnf", "-y", "update", "--disablerepo=cloudlinux-elevate"])
return action.ActionResult()

def _revert_action(self) -> action.ActionResult:
Expand Down
2 changes: 1 addition & 1 deletion cloudlinux7to8/actions/packages.py
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def _adopt_plesk_repositories(self) -> None:
def _post_action(self) -> action.ActionResult:
self._use_rpmnew_repositories()
self._adopt_plesk_repositories()
util.logged_check_call(["/usr/bin/dnf", "-y", "update"])
util.logged_check_call(["/usr/bin/dnf", "-y", "update", "--disablerepo=cloudlinux-elevate"])
return action.ActionResult()

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

0 comments on commit 49a398c

Please sign in to comment.