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 09:26:28 +0530
committerDylan Taylor <dylan@dylanmtaylor.com>2021-04-09 11:50:31 -0400
commitdd61830d2b6379ff772ab6099560d4e012864b9f (patch)
tree06175ede7ed3a83db166a6a24571653e3f3d0d75
parent46c43b25a6e1dcf6a633744c06738f8efd542ed8 (diff)
fixed some typos and changed up how we detect if we have to enable/install network manager
-rw-r--r--archinstall/lib/user_interaction.py4
-rw-r--r--examples/guided.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/archinstall/lib/user_interaction.py b/archinstall/lib/user_interaction.py
index c140b6fa..b9bfe89c 100644
--- a/archinstall/lib/user_interaction.py
+++ b/archinstall/lib/user_interaction.py
@@ -152,11 +152,11 @@ def ask_to_configure_network():
# Optionally configure one network interface.
#while 1:
# {MAC: Ifname}
- interfaces = {'ISO-CONFIG' : 'Copy ISO network configuration to installation','NetworkManager':'Use NetworkManager to control and manage you internet conntetion', **list_interfaces()}
+ interfaces = {'ISO-CONFIG' : 'Copy ISO network configuration to installation','NetworkManager':'Use NetworkManager to control and manage your internet connection', **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':
- if nic == 'Use NetworkManager to control and manage you internet conntetion':
+ if nic == 'Use NetworkManager to control and manage your internet connection':
return {'nic': nic,'NetworkManager':True}
mode = generic_select(['DHCP (auto detect)', 'IP (static)'], f"Select which mode to configure for {nic}: ")
if mode == 'IP (static)':
diff --git a/examples/guided.py b/examples/guided.py
index 85213960..e8bc2b53 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -282,7 +282,7 @@ def perform_installation(device, boot_partition, language, mirrors):
# Perform a copy of the config
if archinstall.arguments.get('nic', None) == 'Copy ISO network configuration to installation':
installation.copy_ISO_network_config(enable_services=True) # Sources the ISO network configuration to the install medium.
- elif archinstall.arguments.get('NetworkManager',None) == True:
+ elif archinstall.arguments.get('nic',None) == 'Use NetworkManager to control and manage your internet connection':
installation.add_additional_packages("networkmanager")
installation.enable_service('NetworkManager.service')
# Otherwise, if a interface was selected, configure that interface