run cryptsetup in batch mode
This commit is contained in:
parent
e17f5263f7
commit
0dd3df4331
|
@ -87,7 +87,7 @@ def _create_swap_partition(disk):
|
|||
|
||||
def _encrypt_disk(partition_path, container_name):
|
||||
print("Encrypting disk.")
|
||||
_run_command(["cryptsetup", "luksFormat",
|
||||
_run_command(["cryptsetup", "luksFormat", "-q"
|
||||
"--type", "luks1", partition_path])
|
||||
_run_command(["cryptsetup", "open", partition_path, "cryptlvm"])
|
||||
|
||||
|
|
Loading…
Reference in New Issue