Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/examples/guided.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/guided.py')
-rw-r--r--examples/guided.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/guided.py b/examples/guided.py
index ac1e7fe2..d6029f46 100644
--- a/examples/guided.py
+++ b/examples/guided.py
@@ -101,6 +101,10 @@ if harddrive.has_partitions():
# That way, we can rely on genfstab and some manual post-installation steps.
if harddrive.has_mount_point(archinstall.storage['MOUNT_POINT']) is False:
raise archinstall.DiskError(f"The selected drive {harddrive} is not pre-mounted to {archinstall.storage['MOUNT_POINT']}. This is required when keeping a existing partitioning scheme.")
+
+ archinstall.log('Using existing partition table:')
+ for partition in harddrive:
+ archinstall.log(f" {partition}")
else:
print('Formatting woop woop!')
exit(1)