Project

General

Profile

action #92107

Updated by oorlov over 1 year ago

We cannot apply validate_encrypt module in [autoyast_resize_luks2](https://openqa.suse.de/tests/5926198) 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 when is not mounted and was used before 'tests/console/validate_file_system.pm' is deleted in #91755:
```
validate_script_output "cryptsetup luksDump /dev/$_->{partition}",
sub { m/Version:\s+$luks_type.*/s };
```

## Task
1. Adjust autoyast profile to mount resized LUKS2 partition;
2. Add validate_encrypt module.

Back