action #95392
closedcoordination #23606: Integrate classes autoyast profile test in openQA
Expand functionality of prepare_profile module
0%
Description
Currently the module autoyast/prepare_profile.pm is parsing only one autoyast profile file, as definded by AUTOYAST variable. The functionality does not cover the case where the profile is created by rules and classes. In this scenario AUTOYAST variable is pointing to a directory that contains a variety of xml files. For example:
/profile_dir/profile_a.xml
/profile_dir/profile_b.xml
/profile_dir/classes/class1/file1.xml
/profile_dir/classes/class2/file2.xml
All these files might contain values that need expansion.
The uploading of the files should follow the same structure as before parsing. New AUTOYAST variable value should point to directory that contains all files (even those that didn't need any expansion). For example AUTOYAST: "http://10.0.2.2:20033/Cva0_dNqLoV3_jFI/files/autoyast_sle15/rules_and_classes/"
For more information, check parent ticket.
The goal of this ticket is to add the extra functionality to prepare_profile module (or if it is more practical, to create a new module for the particular scenario). This functionality will be used for x86_64.