Merge pull request #1325 from ogayot/jammy-lts

ubuntu-pro: remove hardcoded test for jammy
This commit is contained in:
Olivier Gayot 2022-06-22 09:27:17 +02:00 committed by GitHub
commit c4af1a09cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -50,9 +50,7 @@ class UbuntuProController(SubiquityTuiController):
dry_run: bool = self.app.opts.dry_run
lsb = lsb_release(dry_run=dry_run)
# TODO Remove explicit check for jammy when 22.04 gets marked as a LTS
# version instead of a "(development branch)".
if "LTS" not in lsb["description"] and lsb["codename"] != "jammy":
if "LTS" not in lsb["description"]:
await self.endpoint.skip.POST()
raise Skip("Not running LTS version")