fix disk size detection

This commit is contained in:
lelgenio 2020-05-03 00:07:58 -03:00
parent 5c1d3aba64
commit 05f523ef90
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ setup_lvm() {
local partition="$1"; shift
local volgroup="$1"; shift
local d_size=$(lsblk --noheadings --nodeps --bytes --raw $DRIVE)
local d_size=$(lsblk --noheadings --nodeps --bytes --raw --output SIZE $DRIVE)
pvcreate "$partition"
vgcreate "$volgroup" "$partition"