diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-03-27 17:15:59 +0100 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-03-27 17:15:59 +0100 |
commit | a97fd4acad9dad3a3c3e9958b1e58a8f86d68b9a (patch) | |
tree | 8b153d36560b2da006d9cdb0aa1c85c413beff9a /src | |
parent | 25b00bfd6985a4d35deed2cc25f2abbd62967b0e (diff) |
live: display info logging when restoring image starts
instead of using debug level, this is very useful to track the process.
Diffstat (limited to 'src')
-rw-r--r-- | src/live/ogOperations.py | 4 |
1 files changed, 2 insertions, 2 deletions
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}') |