From 9d8a95cc743853b60df47fbb08f51e2605fc2ad7 Mon Sep 17 00:00:00 2001 From: OpenGnSys Support Team Date: Thu, 4 Jul 2024 16:33:01 +0200 Subject: live: add checksum field to image/create response Report image checksum to ogserver through HTTP response. --- src/utils/image.py | 1 + 1 file changed, 1 insertion(+) (limited to 'src/utils') diff --git a/src/utils/image.py b/src/utils/image.py index 088c0c3..fe48a9c 100644 --- a/src/utils/image.py +++ b/src/utils/image.py @@ -32,6 +32,7 @@ class ImageInfo: self.perms = 0 self.clonator = 'PARTCLONE' self.compressor = 'LZOP' + self.checksum = 0 def human_to_kb(size, unit): -- cgit v1.2.3-18-g5258