Skip to content

Commit

Permalink
Add -y flag to thin-pool conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
matbme committed Oct 12, 2023
1 parent caf861b commit 328d89a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lvm/lv.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down

0 comments on commit 328d89a

Please sign in to comment.