This commit is contained in:
j3d1 2020-05-09 14:00:32 +02:00
parent 388d1d2e87
commit 9c06148f45

View file

@ -73,7 +73,7 @@ function first_stage(){
pvcreate ${DEVICE}2 pvcreate ${DEVICE}2
vgcreate vg0 ${DEVICE}2 vgcreate vg0 ${DEVICE}2
export LVM_SIZE=$(dev_size /dev/mapper/cryptlvm) export LVM_SIZE=$(dev_size ${DEVICE}2)
export SWAP_SIZE=$(($(mem_size)/1024/1024)) export SWAP_SIZE=$(($(mem_size)/1024/1024))
export ROOT_SIZE=$(($LVM_SIZE/1024/1024-$SWAP_SIZE-512)) export ROOT_SIZE=$(($LVM_SIZE/1024/1024-$SWAP_SIZE-512))