From 9be639ae78ff2910669c95c400e10afdf802ec97 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Tue, 6 Aug 2024 18:50:56 +0200 Subject: postinstall: add logging to report this stage log that image restoration has entered OS configuration stage. --- src/utils/postinstall.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/utils/postinstall.py b/src/utils/postinstall.py index 1420c18..e0bad71 100644 --- a/src/utils/postinstall.py +++ b/src/utils/postinstall.py @@ -228,6 +228,8 @@ def configure_os(disk, partition): device = get_partition_device(disk, partition) mountpoint = device.replace('dev', 'mnt') + logging.info(f'Configuring OS at {device}...') + if not mount_mkdir(device, mountpoint): raise OgError(f'Cannot probe OS family. Unable to mount {device} into {mountpoint}') -- cgit v1.2.3-18-g5258