1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/yunorunner_ynh.git synced 2024-09-03 20:36:13 +02:00

Fix lxd config

This commit is contained in:
tituspijean 2023-04-12 22:09:46 +02:00
parent 1f42a0ab58
commit 526b80024c
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720

View file

@ -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 ))