Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
svartkanin committed Oct 30, 2023
1 parent dc2f4ff commit 745bac8
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions archinstall/lib/disk/device_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,13 +373,6 @@ class DiskLayoutConfiguration:
device_modifications: List[DeviceModification] = field(default_factory=list)
lvm_config: Optional[LvmConfiguration] = None

# used for pre-mounted config
relative_mountpoint: Optional[Path] = None

def __post_init__(self):
if self.config_type == DiskLayoutType.Pre_mount and self.relative_mountpoint is None:
raise ValueError('Must set a relative mountpoint when layout type is pre-mount"')

def json(self) -> Dict[str, Any]:
config: Dict[str, Any] = {
'config_type': self.config_type.value,
Expand Down

0 comments on commit 745bac8

Please sign in to comment.