-y is not valid when specifying the pw
This commit is contained in:
parent
7da033e05b
commit
d4f517c84a
|
|
@ -118,7 +118,7 @@ else
|
||||||
mount -t ext4 ${DISK}3 /mnt
|
mount -t ext4 ${DISK}3 /mnt
|
||||||
elif [[ "${FS}" == "luks" ]]; then
|
elif [[ "${FS}" == "luks" ]]; then
|
||||||
mkfs.vfat -F32 -n "EFIBOOT" ${DISK}2
|
mkfs.vfat -F32 -n "EFIBOOT" ${DISK}2
|
||||||
echo -n "${luks_password}" | cryptsetup -y -v luksFormat ${DISK}3 -
|
echo -n "${luks_password}" | cryptsetup -v luksFormat ${DISK}3 -
|
||||||
echo -n "${luks_password}" | cryptsetup open ${DISK}3 ROOT -
|
echo -n "${luks_password}" | cryptsetup open ${DISK}3 ROOT -
|
||||||
mkfs.btrfs -L ROOT /dev/mapper/ROOT
|
mkfs.btrfs -L ROOT /dev/mapper/ROOT
|
||||||
mount -t btrfs /dev/mapper/ROOT /mnt
|
mount -t btrfs /dev/mapper/ROOT /mnt
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue