Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow passing KiB values to vgcreate -s option
Currently blivet exepects pesize parm of the vgcreate function should be in MiB. Any given value will be converted to MiB format and omits any fractional part. That means, if any KiB values are passed to pesize parm, it becomes 0 and the actual lvm lvcreate faild to create the vg and returns an error. This limits passing any KiB values for pesize to create a vg. This patch fixes the issue by accepting the given value in KiB. Bug url: https://bugzilla.redhat.com/show_bug.cgi?id=1198568 Signed-off-by: Timothy Asir Jeyasingh <tjeyasin@redhat.com>
- Loading branch information