This commit is contained in:
teldra 2022-02-07 01:08:05 +01:00
parent ed4317a0f2
commit e4d68402e5
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ do_partition() {
fi
parted -a optimal $TARGET_PHY_WWN unit mib -s -- mkpart primary ext4 $start -1s
fi
exit
TARGETNAME=$(basename ${TARGET_PHY_WWN}-part${TARGET_PART})
echo -n $pass | cryptsetup luksFormat ${TARGET_PHY_WWN}-part${TARGET_PART} -d -
#echo -n $pass | sudo cryptsetup luksOpen /dev/sdc1 sdc1 -d -