From 526b80024c196d9f3429bff9b70b43c7e37ac3a4 Mon Sep 17 00:00:00 2001 From: tituspijean Date: Wed, 12 Apr 2023 22:09:46 +0200 Subject: [PATCH] Fix lxd config --- scripts/_common.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 48b39a5..201a0fe 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -43,7 +43,7 @@ function setup_lxd() { ynh_print_info "Configuring lxd..." - if [ "$lxd_cluster" == "cluster" ] + if [ "$cluster" == "cluster" ] then local free_space=$(df --output=avail / | sed 1d) local btrfs_size=$(( $free_space * 90 / 100 / 1024 / 1024 ))