Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions archinstall/default_profiles/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ class ProfileType(Enum):
DesktopEnv = 'Desktop Environment'
CustomType = 'CustomType'
# special things
Tailored = 'Tailored'
Application = 'Application'


Expand Down Expand Up @@ -158,9 +157,6 @@ def is_desktop_type_profile(self) -> bool:
def is_xorg_type_profile(self) -> bool:
return self.profile_type == ProfileType.Xorg if self._advanced_check() else False

def is_tailored(self) -> bool:
return self.profile_type == ProfileType.Tailored

def is_custom_type_profile(self) -> bool:
return self.profile_type == ProfileType.CustomType

Expand Down
22 changes: 0 additions & 22 deletions archinstall/default_profiles/tailored.py

This file was deleted.

11 changes: 1 addition & 10 deletions archinstall/lib/profile/profiles_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import inspect
import sys
from collections import Counter
from functools import cached_property
from pathlib import Path
from tempfile import NamedTemporaryFile
from types import ModuleType
Expand All @@ -13,7 +12,7 @@
from ...default_profiles.profile import GreeterType, Profile
from ..hardware import GfxDriver
from ..models.profile import ProfileConfiguration
from ..networking import fetch_data_from_url, list_interfaces
from ..networking import fetch_data_from_url
from ..output import debug, error, info

if TYPE_CHECKING:
Expand Down Expand Up @@ -141,10 +140,6 @@ def profiles(self) -> list[Profile]:
self._profiles = self._profiles or self._find_available_profiles()
return self._profiles

@cached_property
def _local_mac_addresses(self) -> list[str]:
return list(list_interfaces())

def add_custom_profiles(self, profiles: Profile | list[Profile]) -> None:
if not isinstance(profiles, list):
profiles = [profiles]
Expand Down Expand Up @@ -176,10 +171,6 @@ def get_desktop_profiles(self) -> list[Profile]:
def get_custom_profiles(self) -> list[Profile]:
return [p for p in self.profiles if p.is_custom_type_profile()]

def get_mac_addr_profiles(self) -> list[Profile]:
tailored = [p for p in self.profiles if p.is_tailored()]
return [t for t in tailored if t.name in self._local_mac_addresses]

def install_greeter(self, install_session: 'Installer', greeter: GreeterType) -> None:
packages = []
service = None
Expand Down
20 changes: 0 additions & 20 deletions examples/mac_address_installation.py

This file was deleted.