pre-chroot.sh lusk1
This commit is contained in:
@@ -12,7 +12,7 @@ parted -s -a optimal $DISK mkpart "primary" "ext4" "512MiB" "100%" && \
|
|||||||
parted -s $DISK set 2 lvm on && \
|
parted -s $DISK set 2 lvm on && \
|
||||||
|
|
||||||
#Cryptosetup
|
#Cryptosetup
|
||||||
cryptsetup luksFormat $DISK\2 && \
|
cryptsetup luksFormat --type=luks1 $DISK\2 && \
|
||||||
cryptsetup open $DISK\2 lvm-system && \
|
cryptsetup open $DISK\2 lvm-system && \
|
||||||
|
|
||||||
#Lvm setup
|
#Lvm setup
|
||||||
|
|||||||
Reference in New Issue
Block a user