Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorAnton Hvornum <anton@hvornum.se>2021-04-04 09:37:29 +0000
committerGitHub <noreply@github.com>2021-04-04 09:37:29 +0000
commitf452655d4fb18971fef423225d34bc770bc6c97b (patch)
treefe187f8c8e18379fa97e913f50ed5c64b5e11026 /examples
parentb37c0cc5d7ee018e927d3e09b828ec6a026cb1a3 (diff)
parent8ad4a7d1c42ec5aaf665d4f769cc4860780225d2 (diff)
Merge pull request #158 from advaithm/master
Network manager support
Diffstat (limited to 'examples')
-rw-r--r--examples/guided.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/guided.py b/examples/guided.py
index cfa8b37c..eba6e142 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -320,7 +320,9 @@ 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',{}).get('NetworkManager',False):
+ installation.add_additional_packages("networkmanager")
+ 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', {}))
@@ -348,4 +350,4 @@ def perform_installation(device, boot_partition, language, mirrors):
ask_user_questions()
-perform_installation_steps() \ No newline at end of file
+perform_installation_steps()