From d527e215fce1da04e07556d2dbe787e16dba550b Mon Sep 17 00:00:00 2001 From: Anton Hvornum Date: Sun, 7 Feb 2021 15:03:32 +0100 Subject: Added some log outputs for existing drives. --- examples/guided.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'examples') 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) -- cgit v1.2.3-54-g00ecf