updated guided.py to allow network manager as nic

This commit is contained in:
advaithm 2021-04-04 07:33:17 +05:30 committed by Dylan Taylor
parent cab53ef8f6
commit e1e813fc5e
1 changed files with 2 additions and 1 deletions

View File

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