updated guided.py to allow network manager as nic

This commit is contained in:
advaithm 2021-04-04 07:33:17 +05:30
parent 374cbfc20d
commit ae5f9b08c4
No known key found for this signature in database
GPG Key ID: E557E45E6DAFFC0C
1 changed files with 2 additions and 1 deletions

View File

@ -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', {}))