From 9343ebc049b171124d798da70e5c46a0cc941cd9 Mon Sep 17 00:00:00 2001 From: Jonathan Cave Date: Thu, 21 May 2020 15:42:18 +0100 Subject: 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. --- units/networking/jobs.pxu | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'units') 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 %} -- cgit v1.2.3