diff --git a/ubuntu20to22/upgrader.py b/ubuntu20to22/upgrader.py index dc2b8a8..3cbfe2a 100644 --- a/ubuntu20to22/upgrader.py +++ b/ubuntu20to22/upgrader.py @@ -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": [