summaryrefslogtreecommitdiff
path: root/units/ethernet
diff options
authorJonathan Cave <jonathan.cave@canonical.com>2019-05-22 17:14:15 +0100
committerJonathan Cave <jonathan.cave@canonical.com>2019-05-29 14:51:04 +0100
commit8c99262b24fdf3f9fbe5519c34ad2096ddd55ad2 (patch)
tree6fe535d6b5653b4ee16d0e0cb73303a5e421ea3e /units/ethernet
parent6167a9da66f1c85399a96ac529c7d7b1e99227f8 (diff)
network_device_info: refactor with argparse
Refactoring of the network_device_info which appears to have grown organically to the point where it is somewhat unreadable
Diffstat (limited to 'units/ethernet')
-rw-r--r--units/ethernet/jobs.pxu2
1 files changed, 1 insertions, 1 deletions
diff --git a/units/ethernet/jobs.pxu b/units/ethernet/jobs.pxu
index b5f068a..1a29e24 100644
--- a/units/ethernet/jobs.pxu
+++ b/units/ethernet/jobs.pxu
@@ -2,7 +2,7 @@ plugin: shell
category_id: com.canonical.plainbox::ethernet
id: ethernet/detect
flags: also-after-suspend
-command: network_device_info.py detect
+command: network_device_info.py detect NETWORK
estimated_duration: 2.0
_summary:
Detect if at least one ethernet device is detected