From abfeeb8dd0cadadbe38310e96a61e31088652d82 Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Wed, 11 Nov 2020 20:17:48 +0000 Subject: Asking user for interface-names rather than MAC address. Should probably print the current IP if any, which would make it easier to identify --- examples/guided.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/examples/guided.py b/examples/guided.py index 51ebeeef..4edc593e 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -185,10 +185,10 @@ while 1: # Optionally configure one network interface. while 1: - interfaces = archinstall.list_interfaces() + interfaces = archinstall.list_interfaces() # {MAC: Ifname} archinstall.storage['_guided']['network'] = None - nic = archinstall.generic_select(interfaces, "Select one network interface to configure (leave blank to skip): ") + nic = archinstall.generic_select(interfaces.values(), "Select one network interface to configure (leave blank to skip): ") if nic: mode = archinstall.generic_select(['DHCP (auto detect)', 'IP (static)'], f"Select which mode to configure for {nic}: ") if mode == 'IP (static)': -- cgit v1.2.3-70-g09d2