index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Werner Llácer <wllacer@gmail.com> | 2022-02-28 15:02:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-28 15:02:39 +0100 |
commit | f06aabb4d4a50d3a8ab7c07bef8390f72b091293 (patch) | |
tree | 7b079611baeb58bdf0feb9b78a009ef0ee20623e /archinstall/__init__.py | |
parent | 391699497d0c15e7eb6a63a1369209f42f311b2c (diff) |
-rw-r--r-- | archinstall/__init__.py | 2 |
diff --git a/archinstall/__init__.py b/archinstall/__init__.py index 9afefa0e..cb95028b 100644 --- a/archinstall/__init__.py +++ b/archinstall/__init__.py @@ -204,7 +204,7 @@ def load_config(): 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': + if isinstance(nic_config,str) or 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} |