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:33:17 +0530
committerDylan Taylor <dylan@dylanmtaylor.com>2021-04-09 11:50:31 -0400
commite1e813fc5e0369387f8aae0ca279758fe9ab5c08 (patch)
tree767600b211d5f53eee00184211872b8d258cc4ba
parentcab53ef8f611dbee33e946bed4ca2fb1e7ebe285 (diff)
updated guided.py to allow network manager as nic
-rw-r--r--examples/guided.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index 18f2cc64..93b0f85f 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -282,7 +282,8 @@ 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:
+ installation.enable_service('NetworkManager.service')
# Otherwise, if a interface was selected, configure that interface
elif archinstall.arguments.get('nic', None):
installation.configure_nic(**archinstall.arguments.get('nic', {}))