diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-08-06 18:50:56 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-08-08 12:21:05 +0200 |
commit | 9be639ae78ff2910669c95c400e10afdf802ec97 (patch) | |
tree | 96ce1d8285e3cf1236246a6e09820551255ae2ab /src | |
parent | 9ee5f4adaa143e9297b6098bb0841ed4650b1540 (diff) |
postinstall: add logging to report this stage
log that image restoration has entered OS configuration stage.
Diffstat (limited to 'src')
-rw-r--r-- | src/utils/postinstall.py | 2 |
1 files changed, 2 insertions, 0 deletions
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}') |