Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall/lib
diff options
context:
space:
mode:
authoradvaithm <advaith.madhukar@gmail.com>2021-04-04 07:24:52 +0530
committerDylan Taylor <dylan@dylanmtaylor.com>2021-04-09 11:48:20 -0400
commitcab53ef8f611dbee33e946bed4ca2fb1e7ebe285 (patch)
tree6b12ee3a105f4f4eca4963ce0d93cf1aedf8461e /archinstall/lib
parentcf1fd9e25797a73dd8787d741b1276bd5b86e743 (diff)
networkmanager support
Diffstat (limited to 'archinstall/lib')
-rw-r--r--archinstall/lib/user_interaction.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py
index f1899a05..5538272f 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -152,7 +152,7 @@ def ask_to_configure_network():
# Optionally configure one network interface.
#while 1:
# {MAC: Ifname}
- interfaces = {'ISO-CONFIG' : 'Copy ISO network configuration to installation', **list_interfaces()}
+ interfaces = {'ISO-CONFIG' : 'Copy ISO network configuration to installation','NetworkManager':'Use NetworkManager to control and manage you internet conntetion', **list_interfaces()}
nic = generic_select(interfaces.values(), "Select one network interface to configure (leave blank to skip): ")
if nic and nic != 'Copy ISO network configuration to installation':
@@ -176,9 +176,9 @@ def ask_to_configure_network():
if len(dns_input := input('Enter your DNS servers (space separated, blank for none): ').strip()):
dns = dns_input.split(' ')
- return {'nic': nic, 'dhcp': False, 'ip': ip, 'gateway' : gateway, 'dns' : dns}
+ return {'nic': nic, 'dhcp': False, 'ip': ip, 'gateway' : gateway, 'dns' : dns}s
else:
- return {'nic': nic}
+ return {'nic': nic,'NetworkManager':True}
elif nic:
return nic