diff options
author | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-07-29 23:40:38 +0200 |
---|---|---|
committer | OpenGnSys Support Team <soporte-og@soleta.eu> | 2024-07-30 00:51:37 +0200 |
commit | a846d5e34352cf7591c39c7c884a140acfc5ec78 (patch) | |
tree | f44705a0ed28df5313bba3c4b25283aba42f006c /src | |
parent | c6ab7a4a2d25cdb34f719491046e26199f0bc484 (diff) |
live: unicast-direct does not validate checksum
this restore method is unreliable, add warning to the logs.
Diffstat (limited to 'src')
-rw-r--r-- | src/live/ogOperations.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/live/ogOperations.py b/src/live/ogOperations.py index 086a0b4..7bb2528 100644 --- a/src/live/ogOperations.py +++ b/src/live/ogOperations.py @@ -217,6 +217,7 @@ class OgLiveOperations: if os.access(f'/opt/opengnsys/images', os.R_OK) == False: 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' self._restore_image(image_path, devpath) |