index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | archinstall/__init__.py | 8 |
diff --git a/archinstall/__init__.py b/archinstall/__init__.py index c24a7806..9afefa0e 100644 --- a/archinstall/__init__.py +++ b/archinstall/__init__.py @@ -203,7 +203,13 @@ def load_config(): storage['gfx_driver_packages'] = AVAILABLE_GFX_DRIVERS.get(arguments.get('gfx_driver', None), None) if arguments.get('servers', None) is not None: storage['_selected_servers'] = arguments.get('servers', None) - + if nic_config := arguments.get('nic', {}): + if nic_config.get('nic', '') == 'Copy ISO network configuration to installation': + arguments['nic'] = {'type': 'iso_config'} + elif 'NetworkManager' in nic_config: + arguments['nic'] = {'type': 'network_manager', 'NetworkManager': True} + else: + arguments['nic'] = {k if k != 'nic' else 'type': v for k, v in nic_config.items()} def post_process_arguments(arguments): storage['arguments'] = arguments |