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:
authoradvaithm <advaith.madhukar@gmail.com>2021-04-04 09:26:28 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-04 09:26:28 +0530
commit9daa3f49242227e0cc6c2272b9322578edaab644 (patch)
tree190db08ea7f812499188016494a28f02d718ea35 /examples/guided.py
parentf42d52624e19478bea0a57b03fb46119375714f2 (diff)
fixed some typos and changed up how we detect if we have to enable/install network manager
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 5ca45008..1e077169 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -317,7 +317,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