export virtualisation var

This commit is contained in:
oiseauroch
2022-11-30 11:40:43 +01:00
parent a0ee0ec724
commit 94188611cf
4 changed files with 7 additions and 0 deletions

View File

@@ -92,7 +92,9 @@ ynh_script_progression --message="Checking virtualisation availability…" --wei
if [ "$(which modprobe)" = "" ]
then
virtualisation=false
export VIRTUALISATION=false
else
export VIRTUALISATION=false
virtualisation=true
fi
ynh_app_setting_set --app=$app --key=virtualisation --value=$virtualisation