summaryrefslogtreecommitdiff
path: root/units/ethernet
diff options
authorJeff Lane <jeffrey.lane@canonical.com>2020-09-09 17:45:38 -0400
committerJeff Lane <jeffrey.lane@canonical.com>2020-09-09 17:45:38 -0400
commit10a5beb2ddac5a49e9468408cc2d4b7e12625397 (patch)
tree6e044cc0414b3a7e611943b5fcc9af67670ea258 /units/ethernet
parent412ec6faaa246fd178f0a49bfcb79792e7477b58 (diff)
bin/network_device_info.py - added argument to list disconnected devices, and exit with a failure code if desired. Modified server ethernet info job to use this. lp: #1895048
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 36c25f4..69e7760 100644
--- a/units/ethernet/jobs.pxu
+++ b/units/ethernet/jobs.pxu
@@ -32,7 +32,7 @@ id: ethernet/info_automated_server
requires:
device.category == 'NETWORK'
user: root
-command: network_device_info.py info NETWORK --no-nm
+command: network_device_info.py info NETWORK --no-nm --fail-on-disconnected
estimated_duration: 2.0
_summary:
Provide information about detected ethernet devices