install networkmanager, if required

This commit is contained in:
advaithm 2021-04-04 08:54:35 +05:30
parent ae5f9b08c4
commit 9e3ded8311
No known key found for this signature in database
GPG Key ID: E557E45E6DAFFC0C
1 changed files with 1 additions and 0 deletions

View File

@ -318,6 +318,7 @@ def perform_installation(device, boot_partition, language, mirrors):
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.add_additional_packages("networkmanager")
installation.enable_service('NetworkManager.service')
# Otherwise, if a interface was selected, configure that interface
elif archinstall.arguments.get('nic', None):