mirror of https://git.48k.eu/ogclient
postinstall: add logging to report this stage
log that image restoration has entered OS configuration stage.master
parent
9ee5f4adaa
commit
9be639ae78
|
@ -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}')
|
||||
|
||||
|
|
Loading…
Reference in New Issue