The AutoYaST rules.xml control file fails to run properly
This document (000020283) is provided subject to the disclaimer at the end of this document.
Environment
SUSE Linux Enterprise Server 12
AutoYaST
Situation
The rules.xml looks correct.
<?xml version="1.0"?> <!DOCTYPE autoinstall> <autoinstall xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> <rules config:type="list"> <rule> <result> <profile>sales.xml</profile> <continue config:type="boolean">false</continue> </result> <dialog> <element config:type="integer">0</element> <dialog_nr config:type="integer">0</dialog_nr> <question>Sales Image</question> <title>Image Selection</title> <conflicts config:type="list"> <element config:type="integer">1</element> </conflicts> </dialog> </rule> <rule> <result> <profile>eng.xml</profile> <continue config:type="boolean">false</continue> </result> <dialog> <element config:type="integer">1</element> <dialog_nr config:type="integer">0</dialog_nr> <question>Engineering Image</question> <conflicts config:type="list"> <element config:type="integer">0</element> </conflicts> </dialog> </rule> </rules> </autoinstall>
The rules.xml, sales.xml and eng.xml files are stored on the installation server under autoyast directory. The boot options used for installation included:
autoyast=http://install.server.cloud/autoyast/rules.xmlThe following error was observed and the installation fails.
Error
"None or wrong base product has been defined in the AutoYaST configuration file. Please check the products entry in the software selection."
Resolution
2. Move the autoyast/rules.xml file to the autoyast/profile/rules/ directory
3. Move the sales.xml and eng.xml files to the autoyast/profile/ directory
profile/ profile/rules profile/rules/rules.xml profile/sales.xml profile/eng.xml4. Change the autoyast boot option to
autoyast=http://install.server.cloud/autoyast/profile/NOTE: You must include the trailing '/' so linuxrc identifies the path as a directory, otherwise you will get XML parse errors.
Cause
Additional Information
Disclaimer
This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.
- Document ID:000020283
- Creation Date: 11-Jun-2021
- Modified Date:15-Jun-2021
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com