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 07:33:17 +0530
committeradvaithm <advaith.madhukar@gmail.com>2021-04-04 07:33:17 +0530
commitae5f9b08c4a670d2c020923a042fdcbaa5c2a1d6 (patch)
tree2a705d1b48e2e863446787e4c58311ad2d8579b0 /examples/guided.py
parent374cbfc20daa79ba3ad24b277e4303c7914c8335 (diff)
updated guided.py to allow network manager as nic
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/guided.py b/examples/guided.py
index f374a41c..ec66e892 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -317,7 +317,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', {}))