From 328d89ab7080a8609b60a4e1c96a0e1b84ae09d1 Mon Sep 17 00:00:00 2001 From: Mateus Melchiades Date: Thu, 12 Oct 2023 11:03:39 -0300 Subject: [PATCH] Add -y flag to thin-pool conversion --- core/lvm/lv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/lvm/lv.go b/core/lvm/lv.go index 4f41cfe1..25607546 100644 --- a/core/lvm/lv.go +++ b/core/lvm/lv.go @@ -303,7 +303,7 @@ func MakeThinPool(poolMetadata, pool interface{}) error { } lvm := NewLvm() - _, err = lvm.lvm2Run("lvconvert --type thin-pool --poolmetadata %s %s", poolMetadataName, poolName) + _, err = lvm.lvm2Run("lvconvert -y --type thin-pool --poolmetadata %s %s", poolMetadataName, poolName) if err != nil { return err }