Merge pull request #1325 from ogayot/jammy-lts
ubuntu-pro: remove hardcoded test for jammy
This commit is contained in:
commit
c4af1a09cf
|
@ -50,9 +50,7 @@ class UbuntuProController(SubiquityTuiController):
|
||||||
dry_run: bool = self.app.opts.dry_run
|
dry_run: bool = self.app.opts.dry_run
|
||||||
|
|
||||||
lsb = lsb_release(dry_run=dry_run)
|
lsb = lsb_release(dry_run=dry_run)
|
||||||
# TODO Remove explicit check for jammy when 22.04 gets marked as a LTS
|
if "LTS" not in lsb["description"]:
|
||||||
# version instead of a "(development branch)".
|
|
||||||
if "LTS" not in lsb["description"] and lsb["codename"] != "jammy":
|
|
||||||
await self.endpoint.skip.POST()
|
await self.endpoint.skip.POST()
|
||||||
raise Skip("Not running LTS version")
|
raise Skip("Not running LTS version")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue