Skip to content

Commit

Permalink
Fix upgrader
Browse files Browse the repository at this point in the history
  • Loading branch information
kpushkaryov committed Jun 21, 2024
1 parent f8c8fdc commit 4bcb91e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ubuntu20to22/upgrader.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,12 @@ def construct_actions(
actions.EnableEnhancedSecurityMode(),
],
"Switch repositories": [
actions.SetupUbuntuRepositories("focal", "jammy"),
actions.SetupUbuntuRepositories(
from_codename="focal",
from_version="20.04",
to_codename="jammy",
to_version="22.04"
),
actions.SwitchPleskRepositories(to_os_version="22.04"),
],
"Dist-upgrade": [
Expand Down

0 comments on commit 4bcb91e

Please sign in to comment.