From 9ec0ce73ee60edc11ae912c5896762b859586094 Mon Sep 17 00:00:00 2001 From: Olivier Gayot Date: Mon, 9 Jan 2023 12:18:27 +0100 Subject: [PATCH] ubuntu-pro: enable for LTS releases The version of ubuntu-advantage-tools present in focal-updates contains all we need with regard to the magic attach implementation. Although we are still missing the ubuntu.com/pro/attach screens, they should get active in the near future. It should be enough for testing. Signed-off-by: Olivier Gayot --- subiquity/client/controllers/ubuntu_pro.py | 6 ------ 1 file changed, 6 deletions(-) diff --git a/subiquity/client/controllers/ubuntu_pro.py b/subiquity/client/controllers/ubuntu_pro.py index 6429ad0b..d2adfbb2 100644 --- a/subiquity/client/controllers/ubuntu_pro.py +++ b/subiquity/client/controllers/ubuntu_pro.py @@ -69,12 +69,6 @@ class UbuntuProController(SubiquityTuiController): await self.endpoint.skip.POST() raise Skip("Not running LTS version") - # TODO remove these three lines when all dependencies for Ubuntu Pro - # are available in focal-updates. - if not self.app.opts.dry_run: - await self.endpoint.skip.POST() - raise Skip("Skipping Ubuntu Pro for now") - ubuntu_pro_info: UbuntuProResponse = await self.endpoint.GET() return UbuntuProView(self, token=ubuntu_pro_info.token,