wip
This commit is contained in:
parent
19dd942521
commit
bad143cd4c
1 changed files with 1 additions and 1 deletions
2
entry.sh
2
entry.sh
|
@ -61,7 +61,7 @@ function first_stage(){
|
||||||
LVM_SIZE=$(dev_size /dev/mapper/cryptlvm)
|
LVM_SIZE=$(dev_size /dev/mapper/cryptlvm)
|
||||||
|
|
||||||
SWAP_SIZE=$(($(mem_size)/1024/1024))
|
SWAP_SIZE=$(($(mem_size)/1024/1024))
|
||||||
ROOT_SIZE=$(($LVM_SIZE/1024/1024-SWAP_SIZE))
|
ROOT_SIZE=$(($LVM_SIZE/1024/1024-$SWAP_SIZE-512))
|
||||||
|
|
||||||
echo lvcreate /dev/vg0 --name=root --size=${ROOT_SIZE}M
|
echo lvcreate /dev/vg0 --name=root --size=${ROOT_SIZE}M
|
||||||
lvcreate /dev/vg0 --name=root --size=${ROOT_SIZE}M
|
lvcreate /dev/vg0 --name=root --size=${ROOT_SIZE}M
|
||||||
|
|
Loading…
Reference in a new issue