summaryrefslogtreecommitdiffstats
path: root/client/engine/Image.lib
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2020-09-10 10:17:43 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-09-10 14:52:01 +0200
commitad61ab775d9cc36aac2694bc5e47017386f1e7db (patch)
treea3416254eba318a8a7c8b5bdcee48b314a4f2575 /client/engine/Image.lib
parenta3aa3e336bbe706c92195cb08bc34c4821798642 (diff)
#1004 Add new fields to imagenes table
Extend database to store new fields that contain information about "clonator", "compressor", "filesystem" and "datasize". This patch also creates a /tmp/image.info file that is consumed by ogClient.
Diffstat (limited to 'client/engine/Image.lib')
-rwxr-xr-xclient/engine/Image.lib1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/engine/Image.lib b/client/engine/Image.lib
index 20e7f7df..3b5fdbc8 100755
--- a/client/engine/Image.lib
+++ b/client/engine/Image.lib
@@ -362,6 +362,7 @@ eval $PROGRAM
ERRCODE=$?
if [ $ERRCODE == 0 ]; then
echo "$(ogGetImageInfo $IMGFILE):$(ogGetHostname)" > $IMGFILE.info
+ cp -f $IMGFILE.info /tmp/image.info
else
ogRaiseError $OG_ERR_IMAGE "$1 $2 $IMGFILE"
rm -f "$IMGFILE"