From a97fd4acad9dad3a3c3e9958b1e58a8f86d68b9a Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Wed, 27 Mar 2024 17:15:59 +0100 Subject: live: display info logging when restoring image starts instead of using debug level, this is very useful to track the process. --- src/live/ogOperations.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py index 08c2f5d..6703041 100644 --- a/src/live/ogOperations.py +++ b/src/live/ogOperations.py @@ -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}') -- cgit v1.2.3-18-g5258