diff --git a/artix_scripts/pre-chroot.sh b/artix_scripts/pre-chroot.sh index 12ea245..b0e1e41 100755 --- a/artix_scripts/pre-chroot.sh +++ b/artix_scripts/pre-chroot.sh @@ -12,7 +12,7 @@ parted -s -a optimal $DISK mkpart "primary" "ext4" "512MiB" "100%" && \ parted -s $DISK set 2 lvm on && \ #Cryptosetup -cryptsetup luksFormat $DISK\2 && \ +cryptsetup luksFormat --type=luks1 $DISK\2 && \ cryptsetup open $DISK\2 lvm-system && \ #Lvm setup