summaryrefslogtreecommitdiff
diff options
authorJonathan Cave <jonathan.cave@canonical.com>2020-05-21 15:42:18 +0100
committerJonathan Cave <jonathan.cave@canonical.com>2020-05-27 11:03:04 +0100
commit9343ebc049b171124d798da70e5c46a0cc941cd9 (patch)
tree8930f83d01a6a8c6c0cf28c0c5adabb0074fe9b3
parent428b39c8006d49653a06e234540c24b7e5a2dfab (diff)
networking: limit predictable name test by release
On Ubuntu Core run the predictable names tests on UC20 or later and on other systems test on 18.04 or later.
-rw-r--r--units/networking/jobs.pxu4
1 files changed, 3 insertions, 1 deletions
diff --git a/units/networking/jobs.pxu b/units/networking/jobs.pxu
index c5f5c9f..b697b84 100644
--- a/units/networking/jobs.pxu
+++ b/units/networking/jobs.pxu
@@ -80,8 +80,10 @@ _description: Try to enable a remote printer on the network and print a test pag
plugin: shell
category_id: com.canonical.plainbox::networking
+template-engine: jinja2
id: networking/predictable_names
command: network_predictable_names
_summary: Verify that all network interfaces have predictable names.
_description: Verify that all network interfaces have predictable names.
-
+requires:
+ {% if __on_ubuntucore__ %}lsb.release >= '20'{% else %}lsb.release >= '18'{% endif %}