mirror of https://git.48k.eu/ogclient
live: display info logging when restoring image starts
instead of using debug level, this is very useful to track the process.master
parent
25b00bfd69
commit
a97fd4acad
|
@ -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}')
|
||||
|
|
Loading…
Reference in New Issue