From fcfa5f9fbc3b955d746416e30804b19979164ffb Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Sun, 21 Jul 2024 21:57:14 +0200 Subject: live: add logging to indicate image file copy from samba For consistency with tiptorrent download. --- src/live/ogOperations.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py index 9c67728..5417a7c 100644 --- a/src/live/ogOperations.py +++ b/src/live/ogOperations.py @@ -187,6 +187,8 @@ class OgLiveOperations: src = f'/opt/opengnsys/images/{image_name}.img' dst = f'{OG_CACHE_IMAGE_PATH}{image_name}.img' try: + logging.info(f'Fetching image {image_name} from {src}') + logging.info('*DO NOT REBOOT OR POWEROFF* the client during this time') r = shutil.copy(src, dst) tip_write_csum(image_name) except (OSError, OgError) as e: -- cgit v1.2.3-18-g5258