The control file is an XML file that contains an installation profile for the target computer. This installation profile contains all the information to complete software installation and configuration on the target computer.
To create a control file:
You can create the control file manually in a text editor (not recommended).
When you complete an installation, you can click Clone for AutoYaST. If you use this option, the resulting file is /root/autoinst.xml. This file must be edited manually before using it. See Section 9.2.1, Fixing an Automatically Created Control File.
You can create or modify a control file by using the AutoInstallation module in YaST. For procedures, see Section 9.2.2, Using the AutoInstallation Module to Create the Control File.
This system depends on existing modules that are usually used to configure a computer after OES 2018 or later is installed on a server.
Review the following issue and solution to fix the automatically created control file.
Issue: If you did not patch the server during the installation, the OES product is not identified correctly in the control file.
Solution: When creating the profile or control file, change the product line from:
<product>Novell Open Enterprise Server 11</product>
to
<product>OPEN_ENTERPRISE_SERVER</product>
The following procedure contains a quick list of steps to create the control file by using the AutoInstallation module in YaST on a server running OES 2018 or later.
On a server that has OES 2018 or later installed, click Computer > YaST Administrator Settings.
Click Miscellaneous > Autoinstallation.
The AutoYaST Configuration Management System application window opens, referred to hereafter as the main window.
Click Tools > Create Reference Profile.
In the Create a Reference Control File dialog box under Select Additional Resources, select the Network Settings check box, then click Create.
AutoYaST probes the server it is running on for software, partitioning, boot loader, network card information, language settings, mouse, and other system settings. After the information has been collected, the status messages cease and only the main window is displayed.
Verify the package selections:
In the left frame of the main window, click Software, then under Available Modules, click Package Selection.
On the Package Selection page, make sure the items are the same as you previously installed on the server. For more information on the add-ons (software selections) that are selected in the base selections or patterns, see Deciding What Patterns to Install. If the configuration contains the packages and selections you need, skip to Step 7. If not, continue with Step 6.
If necessary, change the package selections for the target servers:
In the Package Selection dialog box, click Configure.
On the Software Selection page, click Patterns in the Filter field.
Select the specific software items that you want to be added, then click Accept.
If you are prompted to accept the AGFA Monotype Corporation End User License Agreement, click Accept.
Accept the automatic changes by clicking Continue in the Changed Packages dialog box.
Specify the Partitioning parameters for the target server:
In the left frame of the main window, click Hardware, under Available Modules, click Partitioning, then click the Edit button.
Set up partitioning on the first drive as desired, then click Finish.
See the online help for details about limitations.
For more information on partitioning options, see “Partitioning” in Automatic Linux Installation and Configuration with Yast2.
Specify the settings for the graphics card and monitor:
In the left frame of the main window, click Hardware, under Available Modules, click Graphics Card and Monitor, then click the Configure button.
In the General Options field of the X11 Configuration page, specify the settings that you want.
In the Desktop field of the X11 Configuration page, select the settings that you want for the Display Manager and Window Manager, then click Next.
On the Configure Monitor page, select the applicable monitor vendor and model, then click Next.
Verify the X11 settings. If they are not correct, repeat Step 8.a and Step 8.d.
If you skip this step, the server keyboard mappings might be German.
(Optional) Insert a script to perform a task that you want, such as a script for removing partitions:
For more information on custom user scripts, see “Custom User Scripts” in SUSE Auto YaST guide.
In the main window, click Miscellaneous > Custom Scripts > Configure.
On the User Script Management page, click New.
In the File Name field, specify a descriptive name for the script, such as hello_world_script.
In the Script Source field, specify commands such as the following example script:
#!/bin/sh 'echo "hello world" > /tmp/post-script-output'
Click the Type drop-down box, then select Post.
This script runs after the installation is complete. For additional options, see the online help for this dialog box.
Click Save.
Make sure your script appears in the Available Scripts section of the User Script Management page, then click Finish.
Make sure your script appears in the Post Scripts section of the Custom Scripts page.
Set the password for the root user:
From the main window, click Security and Users > User Management > Configure.
Click Set Filter, then select Select System Users from the drop-down menu.
Select user root, then click Edit.
Type a password for the root user in the Password and Verify Password fields, click Accept, then click Finish.
Verify that the root user appears in the Users section of the User Management dialog box.
Configure OES Services:
From the main window, click Open Enterprise Server > module_name > Configure.
All OES services are in the Open Enterprise Server category.
We recommend configuring eDirectory first. Although there are dependencies for some of the components, in this release AutoYaST does not verify whether one module is configured or not.
See the following table for category names and dependencies. You should configure all the modules that were selected for the software selections in Step 5. For more information about which modules are in each pattern, see Deciding What Patterns to Install.
Pattern |
Other Module Dependencies |
---|---|
OES AFP |
|
OES Backup/Storage Management Services (SMS) |
|
OES Business Continuity Cluster (BCC) |
|
OES CIFS |
|
OES Cluster Services (NCS) |
|
OES DHCP |
|
OES DNS |
|
OES Domain Services for Windows |
|
OES eDirectory |
|
OES FTP |
|
NetIQ iManager |
|
OES iPrint |
|
iPrint Advanced |
|
OES Linux User Management (LUM) |
|
OES NCP Server / Dynamic Storage Technology |
|
OES NetStorage |
|
OES Pre-Migration Server |
|
OES Remote Manager (NRM) |
|
OES Storage Services (NSS) |
|
OES Storage Service AD Support |
|
Type or select the information for each field requested on each page, then click Next until a summary of settings is displayed for that service.
Verify that the settings for each module are what you want.
If not, click Reset Configuration and provide the corrected settings.
Repeat Step 11.a through Step 11.c until all the required modules have been configured, then continue with Step 12.
Save the file.:
Click File > Save.
Browse to a location that you want to save the file to.
Type filename.xml, then click Save.
Replace filename with an appropriate name to identify the control file for the installation you are performing.
By default, the file is saved in the /var/lib/autoinstall/repository/ directory.
For additional filename requirements and recommendations, see “The Auto-Installation Process” in Automatic Linux Installation and Configuration with Yast2.
Exit the configuration management tool by clicking File > Exit.
Proceed with Setting Up an Installation Source.