Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py4
1 files 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)':