diff options
Diffstat (limited to 'src/live/ogOperations.py')
-rw-r--r-- | src/live/ogOperations.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py index a3c3836..51f5f2e 100644 --- a/src/live/ogOperations.py +++ b/src/live/ogOperations.py @@ -325,9 +325,12 @@ class OgLiveOperations: cache = cache_probe() disks = get_disks() + interface = os.getenv('DEVICE') + link = ethtool(interface) parsed = { 'serial_number': '', 'disk_setup': [], - 'partition_setup': [] + 'partition_setup': [], + 'link': link } for num_disk, disk in enumerate(get_disks(), start=1): |