summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOpenGnSys Support Team <soporte-og@soleta.eu>2024-07-21 21:57:14 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2024-07-21 21:59:27 +0200
commitfcfa5f9fbc3b955d746416e30804b19979164ffb (patch)
treef96898163e01e2acdb4cd7c65e0861be7658be82
parent59ab9204ce78c42de5551ca2d41c0621afed6974 (diff)
live: add logging to indicate image file copy from samba
For consistency with tiptorrent download.
-rw-r--r--src/live/ogOperations.py2
1 files changed, 2 insertions, 0 deletions
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: