diff options
author | Kristin Chuang <kristin.chuang@canonical.com> | 2021-03-18 13:00:37 +0800 |
---|---|---|
committer | Kristin Chuang <kristin.chuang@canonical.com> | 2021-03-18 13:01:00 +0800 |
commit | bc87e8bfdd9fdd433234e63c78e434c408761131 (patch) | |
tree | 689de7364c593621a3db55563a57718e0aae5f97 | |
parent | dad6e74ee23d9071fba6132fe09cda37d95159ec (diff) |
Change: modify image/model-grade-not-dangerous' 'requires' field
-rw-r--r-- | units/image/jobs.pxu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/units/image/jobs.pxu b/units/image/jobs.pxu index c1ee197..2cbbff5 100644 --- a/units/image/jobs.pxu +++ b/units/image/jobs.pxu @@ -75,7 +75,7 @@ id: image/model-grade-not-dangerous category_id: image summary: Check that the model grade is not missing or set to dangerous requires: - lsb.release >= '20' and lsb.distributor_id == "Ubuntu Core" + lsb.distributor_id == "Ubuntu Core" and int(lsb.release) >= 20 description: Images with the 'dangerous' grade (the lowest of all available grades) results in certain security measures to be relaxed. |