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:
parent
1f42a0ab58
commit
526b80024c
1 changed files with 1 additions and 1 deletions
|
@ -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 ))
|
||||
|
|
Loading…
Reference in a new issue