diff --git a/archinstall/lib/models/network.py b/archinstall/lib/models/network.py index c2273799..71f3dca2 100644 --- a/archinstall/lib/models/network.py +++ b/archinstall/lib/models/network.py @@ -12,7 +12,6 @@ class NicType(Enum): NM = 'nm' NM_IWD = 'nm_iwd' MANUAL = 'manual' - NONE = 'none' def display_msg(self) -> str: match self: @@ -24,8 +23,6 @@ class NicType(Enum): return tr('Use Network Manager (iwd backend)') case NicType.MANUAL: return tr('Manual configuration') - case NicType.NONE: - return tr('No network configuration') class _NicSerialization(TypedDict): diff --git a/archinstall/lib/network/network_handler.py b/archinstall/lib/network/network_handler.py index 48b863fd..13548584 100644 --- a/archinstall/lib/network/network_handler.py +++ b/archinstall/lib/network/network_handler.py @@ -37,8 +37,6 @@ def install_network_config( installation.configure_nic(nic) installation.enable_service('systemd-networkd') installation.enable_service('systemd-resolved') - case NicType.NONE: - pass def _configure_nm_iwd(installation: Installer) -> None: diff --git a/archinstall/lib/network/network_menu.py b/archinstall/lib/network/network_menu.py index ebc4ab7d..2e95a82e 100644 --- a/archinstall/lib/network/network_menu.py +++ b/archinstall/lib/network/network_menu.py @@ -208,7 +208,5 @@ async def select_network(preset: NetworkConfiguration | None) -> NetworkConfigur if nics: return NetworkConfiguration(NicType.MANUAL, nics) - case NicType.NONE: - return NetworkConfiguration(NicType.NONE) return preset diff --git a/archinstall/locales/uk/LC_MESSAGES/base.po b/archinstall/locales/uk/LC_MESSAGES/base.po index 71651fda..a13d825c 100644 --- a/archinstall/locales/uk/LC_MESSAGES/base.po +++ b/archinstall/locales/uk/LC_MESSAGES/base.po @@ -486,7 +486,7 @@ msgid "Define users with sudo privilege: " msgstr "Визначте користувачів із привілеєм sudo: " msgid "No network configuration" -msgstr "Без налаштування мережі" +msgstr "Відсутня конфігурація мережі" msgid "Set desired subvolumes on a btrfs partition" msgstr "Встановіть потрібні підтома на розділі btrfs"