action #92107

Updated by JERiveraMoya over 1 year ago

We cannot apply validate_encrypt in scenario autoyast_resize_luks2 module because there is no /etc/crypttab (possibly because the partition is not mounted). We should decide if mount the partition after installation or if worth to adapt the validation for this case, making the verification of the cryptab and other commands like the ones for restoring backups, optional. For now is not scheduled this module in this scenario.

This is the previous code which works work when is not mounted and was used before 'tests/console/' is deleted in #91755:
validate_script_output "cryptsetup luksDump /dev/$_->{partition}",
sub { m/Version:\s+$luks_type.*/s };