action #169681
openSimplify AutoYaST profiles from support_images folder
0%
Description
Motivation¶
Main goal is to improve maintenance tasks over AutoYaST profiles of the YAM team, these profiles are under data/yam/autoyast/support_images
folders.
We have to simplify and left only required profile sections. In addition, each section has to be reviewed to remove not required fields.
In a current case we should include for SP6 new patterns that are required.
Old Patterns section:
<pattern>apparmor</pattern>
<pattern>base</pattern>
<pattern>enhanced_base</pattern>
<pattern>minimal_base</pattern>
<pattern>yast2_basis</pattern>
<pattern>ha_sles</pattern>
New Patterns section:
<pattern>apparmor</pattern>
<pattern>base</pattern>
<pattern>enhanced_base</pattern>
<pattern>minimal_base</pattern>
<pattern>yast2_basis</pattern>
<pattern>ha_sles</pattern>
<pattern>basic_desktop</pattern>
<pattern>x11</pattern>
<pattern>x11_yast</pattern>
In other scenarios we should remove fields from the profile
For example bootloader (In the majority of the cases it will only required to has timeout)
Current template:
<bootloader config:type="map">
<global config:type="map">
<cpu_mitigations>auto</cpu_mitigations>
<gfxmode>auto</gfxmode>
<hiddenmenu>false</hiddenmenu>
<os_prober>false</os_prober>
<secure_boot>true</secure_boot>
<terminal>gfxterm</terminal>
<timeout config:type="integer">-1</timeout>
<update_nvram>true</update_nvram>
<xen_kernel_append>vga=gfx-1024x768x16</xen_kernel_append>
</global>
<loader_type>grub2-efi</loader_type>
</bootloader>
Target template:
<bootloader>
<global>
<timeout config:type="integer">-1</timeout>
</global>
</bootloader>
Suggested sections to simplify:
- Bootloader
- Networking
- Partitioning
A good point to start could be to review the autoyast_mini
generation job, this job will generate the minimum required profile where to compare with the current ones.
autoyast_mini
job is present under SLE_15 >> YaST
Job Group.
Example of given AY profile https://openqa.suse.de/tests/15896584/settings/yam/autoyast/mini.xml
Example of minified output profile https://openqa.suse.de/tests/15896584/file/clone-autoinst.xml
####Acceptance criteria
AC1 : Review and simplify each AY profile section of each profile.
AC2 : Review all profiles under data/yam/autoyast/support_images
path
Updated by jfernandez 10 days ago
- Subject changed from Simplify AutoYaST profiles to Simplify AutoYaST profiles from support_images folder