index : archinstall32 | |
Archlinux32 installer | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2021-03-29 08:56:41 +0200 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2021-03-29 08:56:41 +0200 |
commit | a156f224a87a02d6b0f9a54eef2ce18e418e5187 (patch) | |
tree | 469d052a6ecfd4498125f4f77eafb5d3a8ec8bb0 | |
parent | 6cba404b75abb3faa939c8d6c7e29610591f3cc3 (diff) |
-rw-r--r-- | archinstall/lib/disk.py | 5 | ||||
-rw-r--r-- | examples/guided.py | 1 |
diff --git a/archinstall/lib/disk.py b/archinstall/lib/disk.py index c1db3dc9..85b08bc0 100644 --- a/archinstall/lib/disk.py +++ b/archinstall/lib/disk.py @@ -142,7 +142,8 @@ class Partition(): self.target_mountpoint = mountpoint self.filesystem = filesystem self.size = size # TODO: Refresh? - self._encrypted = encrypted + self._encrypted = None + self.encrypted = encrypted self.allow_formatting = False # A fail-safe for unconfigured partitions, such as windows NTFS partitions. if mountpoint: @@ -161,7 +162,7 @@ class Partition(): self.filesystem = fstype if self.filesystem == 'crypto_LUKS': - self._encrypted = True + self.encrypted = True def __lt__(self, left_comparitor): if type(left_comparitor) == Partition: diff --git a/examples/guided.py b/examples/guided.py index 4766301e..d9dfe0df 100644 --- a/examples/guided.py +++ b/examples/guided.py @@ -292,6 +292,7 @@ def perform_installation(device, boot_partition, language, mirrors): Only requirement is that the block devices are formatted and setup prior to entering this function. """ + print('Installing on:', device) with archinstall.Installer(device, boot_partition=boot_partition, hostname=archinstall.arguments.get('hostname', 'Archinstall')) as installation: ## if len(mirrors): # Certain services might be running that affects the system during installation. |