mirror of https://git.48k.eu/ogclient
live: unicast-direct does not validate checksum
this restore method is unreliable, add warning to the logs.master
parent
c6ab7a4a2d
commit
a846d5e343
|
@ -217,6 +217,7 @@ class OgLiveOperations:
|
||||||
if os.access(f'/opt/opengnsys/images', os.R_OK) == False:
|
if os.access(f'/opt/opengnsys/images', os.R_OK) == False:
|
||||||
raise OgError('Cannot access /opt/opengnsys/images in read mode, check permissions')
|
raise OgError('Cannot access /opt/opengnsys/images in read mode, check permissions')
|
||||||
|
|
||||||
|
logging.warn(f'Checksum validation is *NOT* available with UNICAST-DIRECT!')
|
||||||
image_path = f'/opt/opengnsys/images/{name}.img'
|
image_path = f'/opt/opengnsys/images/{name}.img'
|
||||||
|
|
||||||
self._restore_image(image_path, devpath)
|
self._restore_image(image_path, devpath)
|
||||||
|
|
Loading…
Reference in New Issue