diff options
Diffstat (limited to 'units')
| -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 cf684c0..cf1c02b 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 |
