mirror of https://git.48k.eu/ogclient
live: add logging to indicate image file copy from samba
For consistency with tiptorrent download.master
parent
59ab9204ce
commit
fcfa5f9fbc
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue