install networkmanager, if required
This commit is contained in:
parent
e1e813fc5e
commit
55622fd79d
|
|
@ -283,6 +283,7 @@ def perform_installation(device, boot_partition, language, mirrors):
|
||||||
if archinstall.arguments.get('nic', None) == 'Copy ISO network configuration to installation':
|
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.
|
installation.copy_ISO_network_config(enable_services=True) # Sources the ISO network configuration to the install medium.
|
||||||
elif archinstall.arguments.get('NetworkManager',None) == True:
|
elif archinstall.arguments.get('NetworkManager',None) == True:
|
||||||
|
installation.add_additional_packages("networkmanager")
|
||||||
installation.enable_service('NetworkManager.service')
|
installation.enable_service('NetworkManager.service')
|
||||||
# Otherwise, if a interface was selected, configure that interface
|
# Otherwise, if a interface was selected, configure that interface
|
||||||
elif archinstall.arguments.get('nic', None):
|
elif archinstall.arguments.get('nic', None):
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue