Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAdvaith Madhukar <advaith.madhuar@gmail.com>2021-04-04 14:42:19 +0530
committerDylan Taylor <dylan@dylanmtaylor.com>2021-04-09 11:50:31 -0400
commitb6ad3dffc9b76675741a63d846135f7a3ff353f3 (patch)
tree475909da77ba1f63267d3772996a159e40e50331 /examples
parentdd61830d2b6379ff772ab6099560d4e012864b9f (diff)
fixed network manager check
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index e8bc2b53..46f0ba54 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('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