Jump to contentJump to page navigation: previous page [access key p]/next page [access key n]
Applies to SUSE Linux Enterprise Server 15 SP3

Part III Managing mass installations with dynamic profiles

5 Supported approaches to dynamic profiles

When dealing with the installation of multiple systems, it might be useful to use a single profile (or a reduced set of them) that adapts automatically to each system. In this regard, AutoYaST offers three different mechanisms to modify the profile at installation time.

6 Rules and classes

Rules and classes allow customizing installations for sets of machines in different ways:

7 ERB templates

ERB templates allow embedding some Ruby code within the profile to modify it during the installation. With this approach, you can inspect the system and adjust the profile by setting values, adding or skipping sections, etc.

8 Combining ERB templates and scripts

Section 4.31.1, “Pre-install scripts” already describes how to use a pre-script to modify the current profile. In a nutshell, if the script creates a /tmp/profile/modified.xml file, AutoYaST imports that profile and forgets about the initial one.

Print this page