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:
authorAdvaith Madhukar <advaith.madhuar@gmail.com>2021-04-04 14:42:19 +0530
committerAdvaith Madhukar <advaith.madhuar@gmail.com>2021-04-04 14:42:19 +0530
commit8ad4a7d1c42ec5aaf665d4f769cc4860780225d2 (patch)
treeb140413bbcf0b1d34195bd92249c9884a4ad79b6 /examples/guided.py
parent9daa3f49242227e0cc6c2272b9322578edaab644 (diff)
fixed network manager check
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 1e077169..1a1cf84c 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('nic',None) == 'Use NetworkManager to control and manage your internet connection':
+ elif archinstall.arguments.get('nic',{}).get('NetworkManager',False):
installation.add_additional_packages("networkmanager")
installation.enable_service('NetworkManager.service')
# Otherwise, if a interface was selected, configure that interface
@@ -347,4 +347,4 @@ def perform_installation(device, boot_partition, language, mirrors):
ask_user_questions()
-perform_installation_steps() \ No newline at end of file
+perform_installation_steps()