Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
diff options
context:
space:
mode:
authorAnton Hvornum <anton.feeds+github@gmail.com>2020-11-11 20:15:58 +0000
committerAnton Hvornum <anton.feeds+github@gmail.com>2020-11-11 20:15:58 +0000
commitbe2dd2b3cdaa54421ddb71093b604ad39d702afa (patch)
treeef89b0639e748c88318cfc3986508304a425d8ac /examples/guided.py
parent72fb912b6b1593a9eea690be88034bd96dd3dcd9 (diff)
Fix for generic_select() call.
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index a69cc622..51ebeeef 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -188,9 +188,9 @@ while 1:
interfaces = archinstall.list_interfaces()
archinstall.storage['_guided']['network'] = None
- nic = generic_select(interfaces, "Select one network interface to configure (leave blank to skip): ")
+ nic = archinstall.generic_select(interfaces, "Select one network interface to configure (leave blank to skip): ")
if nic:
- mode = generic_select(['DHCP (auto detect)', 'IP (static)'], f"Select which mode to configure for {nic}: ")
+ mode = archinstall.generic_select(['DHCP (auto detect)', 'IP (static)'], f"Select which mode to configure for {nic}: ")
if mode == 'IP (static)':
while 1:
ip = input(f"Enter the IP and subnet for {nic} (example: 192.168.0.5/24): ").strip()