AutoYaST


Table of Contents

1. Introduction
Availability
Motivation
Overview and Concept
2. The Control File
Introduction
Format
Structure
Resources and Properties
Nested Resources
Attributes
RELAX NG—A Schema Language for XML
Introduction
3. Creating A Control File
Collecting Information
Using the Configuration Management System (CMS)
Creating a New Profile
Creating/Editing a Control File Manually
Creating a Profile (Control File) via Script with XSLT
4. Configuration and Installation Options
General Options
Reporting
The Boot Loader
Device map
Globals
Initrd modules
Loader Type
Sections
Options
Partitioning
Drive Configuration
Partition Configuration
RAID Options
Automated Partitioning
Advanced Partitioning Features
Using Existing Mount Table (fstab)
Logical Volume Manager (LVM)
Enterprise Volume Management System (EVMS) — SLES10 only!
Software RAID
IBM System z Specific Configuration
Software
Package Selections with Patterns
Deploying Images
Installing Additional and Customized Packages
Kernel Packages
Removing Automatically Selected Packages
Installing Packages in Stage 2
Installing Patterns in Stage 2
Online Update in Stage 2
Services and Runlevels
Network Configuration
Network Devices, DNS and Routing.
Proxy
(X)Inetd
NIS
LDAP Client
NFS Client and Server
NTP Client
Mail Configuration (Sendmail or Postfix)
Security Settings
Password Settings Options
Boot Settings
Login Settings
New user settings (useradd settings)
Monitor and X11 Configuration
Users
Custom User Scripts
Pre-Install Scripts
Postpartitioning Scripts
Chroot Environment Scripts
Post-Install Scripts
Init Scripts
Script Example
System Variables (Sysconfig)
Adding Complete Configurations
Ask the User for Values during Installation
Kernel Dumps
Memory Reservation
Dump Saving
Email Notification
Kdump Kernel Settings
Expert Settings
Miscellaneous Hardware and System Components
Printer
Sound devices
5. Network-based Installation
Configuration Server
HTTP Repository
NFS Repository
TFTP Repository
6. Rules and Classes
Rules-based Automatic Installation
Rules File Explained
Custom Rules
Match Types for Rules
Combine Attributes
Rules File Structure
Predefined System Attributes
Rules with Dialogs
Classes
Mixing Rules and Classes
The Merging of Rules and Classes
7. The Auto-Installation Process
Introduction
X11 Interface (graphical)
Serial console
Text-based YaST Installation
Choosing the Right Boot Medium
Booting from a floppy
Booting from CD-ROM
Booting via PXE over the network
Invoking the Auto-Installation Process
Command Line Options
Auto-installing a Single System
Combining linuxrc info file with YaST control file
System Configuration
Post-Install and System Configuration
System Customization
A. Handling Rules
B. Advanced Linuxrc Options
Passing parameters to Linuxrc
info file format
Advanced Network Setup

List of Figures

1.1. Auto-installation process
3.1. Configuration System
3.2. Editing the control file with kxmledit
4.1. Keeping partitions
6.1. Rules
6.2. Defining Classes
A.1. Rules Retrieval Process

List of Tables

4.1. Pre-script XML Representation
4.2. Postpartitioning Script XML Representation
4.3. Chroot Script XML Representation
4.4. Post Script XML Representation
4.5. Init script XML representation
4.6. XML representation
4.7. XML representation
4.8. XML representation
4.9. Recommended values for the reserved memory amount
4.10. XML Representation of the Memory Reservation Settings
4.11. XML Representation of the Dump Target Settings
4.12. XML Representation of the Email Notification Settings
4.13. XML Representation of the Kernel Settings
4.14. XML Representation of the Expert Settings
6.1. System Attributes
7.1. Keywords for linuxrc
7.2. Command Line Variables for AutoYaST
B.1. Advanced linuxrc keywords

List of Examples

2.1. XML Control File (Profile)
2.2. Control file container
2.3. Nested Resources
2.4. Nested Resources with Type Attributes
3.1. Example file for replacing hostname/domain by script
4.1. General Options
4.2. Reporting Behavior
4.3. Automated Partitioning
4.4. Detailed Automated Partitioning
4.5. Mount Options
4.6. Keeping partitions
4.7. Auto-detection of partitions to be kept.
4.8. Reading existing /etc/fstab
4.9. Create LVM Physical Volume
4.10. LVM Logical Volumes (New syntax)
4.11. EVMS Logical Volumes
4.12. RAID1 configuration
4.13. Package Selection in Control File with Patterns
4.14. Activating Image Deployment
4.15. Creating Package Database
4.16. Package Selection in Control File
4.17. Package Selection in Control File
4.18. Run-level Configuration
4.19. Network configuration
4.20. Network configuration: Proxy
4.21. Inetd Example
4.22. Network configuration: NIS
4.23. Network configuration: LDAP client
4.24. Network Configuration: NFS Client
4.25. Network Configuration: NFS Client - New Style (openSUSE 11.3 and newer)
4.26. Network Configuration: NFS Server
4.27. Network configuration: NTP Client
4.28. Mail Configuration
4.29. Security configuration
4.30. X11 and Monitor configuration (deprecated since openSUSE 11.2)
4.31. User Configuration
4.32. Post Script Configuration
4.33. Sysconfig Configuration
4.34. Dumping files into the installed system
4.35. Dumping files into the installed system
4.36. Kdump configuration
4.37. Printer configuration
4.38. Sound configuration
6.1. Simple Rules File
6.2. Simple Rules File
7.1. Determine HEX code for an IP address
7.2. Linuxrc options in the control file