summaryrefslogtreecommitdiffstats
path: root/src/utils/postinstall.py
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-08-06 18:50:56 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-08-08 12:21:05 +0200
commit9be639ae78ff2910669c95c400e10afdf802ec97 (patch)
tree96ce1d8285e3cf1236246a6e09820551255ae2ab /src/utils/postinstall.py
parent9ee5f4adaa143e9297b6098bb0841ed4650b1540 (diff)
postinstall: add logging to report this stage
log that image restoration has entered OS configuration stage.
Diffstat (limited to 'src/utils/postinstall.py')
-rw-r--r--src/utils/postinstall.py2
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}')