fixed network manager check
This commit is contained in:
parent
dd61830d2b
commit
b6ad3dffc9
|
|
@ -282,7 +282,7 @@ 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',None) == 'Use NetworkManager to control and manage your internet connection':
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in New Issue