Update main.py

typo in a comment
This commit is contained in:
Matti Hyttinen 2020-11-06 08:49:22 +02:00 committed by GitHub
parent 741c1c5d1e
commit 73b5c62ab8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,7 +49,7 @@ def write_dmcrypt_conf(partitions, root_mount_point, dmcrypt_conf_path):
with open(os.path.join(root_mount_point, dmcrypt_conf_path), 'a+') as dmcrypt_file:
dmcrypt_file.write("\ntarget=" + crypto_target)
dmcrypt_file.write("\nsource=" + crypto_source)
# Don't use keyfile if boot is unecrypted, keys must not be stored on unencrypted partitions
# Don't use keyfile if boot is unencrypted, keys must not be stored on unencrypted partitions
if not unencrypted_separate_boot:
dmcrypt_file.write("\nkey=/crypto_keyfile.bin")
dmcrypt_file.write("\n")