From 827c9425b0768421651c53372ffea11f8c3cea23 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 22 Dec 2022 16:08:41 +0100 Subject: [PATCH] add virtualisation variable --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index b8df9e6..f00eb67 100755 --- a/scripts/install +++ b/scripts/install @@ -271,7 +271,7 @@ if [ "$virtualisation" = "true" ] then # to be sure to not exceed size limit, i use a virtual disk with a fix size to have a max limit size. qemu-img create -f qcow2 $datadir/garage_data.qcow2 "$weight"G - $final_path/mount_disk.sh true + VIRTUALISATION=true $final_path/mount_disk.sh true fi # FIXME: this should be managed by the core in the future @@ -286,7 +286,7 @@ chown -R $app:$app "$datadir" if [ "$virtualisation" = "true" ] then - $final_path/umount_disk.sh + VIRTUALISATION=true $final_path/umount_disk.sh fi #=================================================