diff options
author | PMR <pmr@pmr-lander> | 2018-12-06 10:46:54 +0000 |
---|---|---|
committer | PMR <pmr@pmr-lander> | 2018-12-06 10:46:54 +0000 |
commit | e930f4e5fe506c44dd2f5d438de4fda25423b4cd (patch) | |
tree | 1f3b954057e754e508fc28a171b25d143cd8cc7c | |
parent | e66477fc6731cd21192b965360484b1ddb490bbd (diff) | |
parent | e3faa430bcc196ad8c24cc1031adbe7329acea0c (diff) |
Merge #360177 from ~jocave/plainbox-provider-checkbox:check-static-classic
-rw-r--r-- | units/ethernet/jobs.pxu | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/units/ethernet/jobs.pxu b/units/ethernet/jobs.pxu index cf684c0a..cf1c02b3 100644 --- a/units/ethernet/jobs.pxu +++ b/units/ethernet/jobs.pxu @@ -387,8 +387,12 @@ plugin: shell estimated_duration: 2s command: check_static {{ interface }} requires: + {%- if __on_ubuntucore__ %} snap.name == 'network-manager' connections.slot == 'network-manager:service' and connections.plug == '{{ __system_env__["SNAP_NAME"] }}:network-manager' + {%- else %} + executable.name == 'nmcli' + {% endif -%} plugin: shell category_id: com.canonical.plainbox::ethernet |