index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2022-03-28 16:01:55 +0200 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2022-03-28 16:01:55 +0200 |
commit | 6c71f42b4728d5e6da3b020e8454c292ed972058 (patch) | |
tree | ea489972b00992ff94801e16e94a0fb0cce94d45 /archinstall/lib/models | |
parent | 5456920681e900df15b67644e23ea0400201d111 (diff) |
-rw-r--r-- | archinstall/lib/models/network_configuration.py | 4 |
diff --git a/archinstall/lib/models/network_configuration.py b/archinstall/lib/models/network_configuration.py index 4b57da00..eb4c25ee 100644 --- a/archinstall/lib/models/network_configuration.py +++ b/archinstall/lib/models/network_configuration.py @@ -4,8 +4,6 @@ from dataclasses import dataclass from enum import Enum from typing import List, Optional, Dict -from ... import log - class NicType(str, Enum): ISO = "iso" @@ -41,6 +39,8 @@ class NetworkConfiguration: @classmethod def parse_arguments(cls, config: Union[str,Dict[str, str]]) -> Optional["NetworkConfiguration"]: + from ... import log + nic_type = config.get('type', None) if not nic_type: |