summaryrefslogtreecommitdiff
path: root/units/ethernet
diff options
authorJonathan Cave <jonathan.cave@canonical.com>2019-05-28 13:54:58 +0100
committerJonathan Cave <jonathan.cave@canonical.com>2019-05-29 14:51:04 +0100
commit5d905d4a9bee69919589e85dca7ab9980f213081 (patch)
tree973321215c6b94e0a4be158a248f89121419c27c /units/ethernet
parent1d9b57f0fa573bf0c85a53f0dd21190575af1ba6 (diff)
network_info: consolidate jobs on newer info script
Diffstat (limited to 'units/ethernet')
-rw-r--r--units/ethernet/jobs.pxu4
1 files changed, 2 insertions, 2 deletions
diff --git a/units/ethernet/jobs.pxu b/units/ethernet/jobs.pxu
index 7c8d569..103a7b3 100644
--- a/units/ethernet/jobs.pxu
+++ b/units/ethernet/jobs.pxu
@@ -18,8 +18,8 @@ id: ethernet/info_automated
requires:
executable.name == 'ip'
device.category == 'NETWORK'
-command: udev_resource -f NETWORK | awk "/interface: / { print \$2 }" | xargs -n 1 network_info
-estimated_duration: 30.0
+command: network_device_info.py detect NETWORK
+estimated_duration: 2.0
_summary:
Gather info on current state of network devices
_description: