Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradvaithm <advaith.madhukar@gmail.com>2021-04-04 07:24:52 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-04 07:24:52 +0530
commitfe237eac3ce29cd90f002cfb41a596e3f3830193 (patch)
tree922a3554502ca2ef72ce98e2e0eb2506c48f19b8
parentb5e32f980a27f272c1e3c42969323dff82617a84 (diff)
networkmanager support
-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 80db7be1..37f06ae8 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -94,7 +94,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':
@@ -119,9 +119,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