live: display info logging when restoring image starts

instead of using debug level, this is very useful to track the process.
master
OpenGnSys Support Team 2024-03-27 17:15:59 +01:00
parent 25b00bfd69
commit a97fd4acad
1 changed files with 2 additions and 2 deletions

View File

@ -181,8 +181,8 @@ class OgLiveOperations:
self._restore_image(image_path, devpath)
def _restore_image(self, image_path, devpath):
logging.debug(f'Restoring image at {image_path} into {devpath}')
logging.debug(f'This process can take some time, please *DO NOT SHUT DOWN OR REBOOT* this client')
logging.info(f'Restoring image at {image_path} into {devpath}')
logging.info('*DO NOT REBOOT OR POWEROFF* the client during this time')
cmd_lzop = shlex.split(f'lzop -dc {image_path}')
cmd_pc = shlex.split(f'partclone.restore -d0 -C -I -o {devpath}')