live: add logging to indicate image file copy from samba

For consistency with tiptorrent download.
master
OpenGnSys Support Team 2024-07-21 21:57:14 +02:00
parent 59ab9204ce
commit fcfa5f9fbc
1 changed files with 2 additions and 0 deletions

View File

@ -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: