Add LUKS2 option when creating LUKS partition
Since cryptsetup 2.1.0, LUKS2 has become the default LUKS format (the latest version of cryptsetup is 2.7.1).
Additionally, Red Hat uses LUKS2 by default in RHEL 8.
Therefore, it's necessary to add a LUKS2 option in partition creation.
Edited by Zhangzhi Hu