Jump to contentJump to page navigation: previous page [access key p]/next page [access key n]
SUSE Linux Enterprise Micro 5.0

AutoYaST Guide


AutoYaST is a system for unattended mass deployment of SUSE Linux Enterprise Micro systems. It uses an AutoYaST profile that contains installation and configuration data. The book guides you through the basic steps of auto-installation: preparation, installation, and configuration.

Publication Date: July 08, 2022
Available documentation
Improving the documentation
Documentation conventions
1 Introduction to AutoYaST
1.1 Motivation
1.2 Overview and concept
I Understanding and creating the AutoYaST control file
2 The AutoYaST control file
2.1 Introduction
2.2 Format
2.3 Structure
3 Creating an AutoYaST control file
3.1 Collecting information
3.2 Creating/editing a control file manually
3.3 Creating a control file via script with XSLT
3.4 Checking a control file
II AutoYaST configuration examples
4 Configuration and installation options
4.1 General options
4.2 Reporting
4.3 System registration and extension selection
4.4 The boot loader
4.5 Partitioning
4.6 iSCSI initiator overview
4.7 Fibre channel over Ethernet configuration (FCoE)
4.8 Country settings
4.9 Services and targets
4.10 Network configuration
4.11 Security settings
4.12 Users and groups
4.13 Custom user scripts
4.14 Adding complete configurations
4.15 Ask the user for values during installation
4.16 Kernel dumps
4.17 Importing SSH keys and configuration
4.18 Configuration management
III Managing mass installations with dynamic profiles
5 Supported approaches to dynamic profiles
6 Rules and classes
6.1 Rule-based automatic installation
6.2 Classes
6.3 Mixing rules and classes
6.4 Merging of rules and classes
7 ERB templates
7.1 What is ERB?
7.2 Template helpers
8 Combining ERB templates and scripts
8.1 Embedding ERB in your scripts
8.2 Accessing ERB helpers from Ruby scripts
IV Understanding the auto-installation process
9 The auto-installation process
9.1 Introduction
9.2 Choosing the right boot medium
9.3 Invoking the auto-installation process
V Appendixes
A Handling rules
B AutoYaST FAQ—frequently asked questions
C Advanced linuxrc options
C.1 Passing parameters to linuxrc
C.2 info file format
C.3 Advanced network setup
D GNU licenses
D.1 GNU free documentation license
List of Examples
2.1 AutoYaST control file (profile)
2.2 Control file container
2.3 Nested resources
3.1 Example file for replacing the host name/domain by script
4.1 General options
4.2 Reporting behavior
4.3 LVM-based guided partitioning
4.4 Creating /, /home and swap partitions
4.5 Using a whole disk as a file system
4.6 Automated partitioning on selected drives
4.7 Installing on multiple drives
4.8 Mount options
4.9 Keeping partitions
4.10 Auto-detection of partitions to be kept.
4.11 Create LVM physical volume
4.12 LVM logical volumes
4.13 RAID1 configuration
4.14 RAID1 without partitions
4.15 Using multipath devices
4.16 Listing multipath devices
4.17 Using the WWID to identify a multipath device
4.18 bcache definition
4.19 Multi-device Btrfs configuration
4.20 NFS share definition
4.21 tmpfs definition
4.22 iSCSI client
4.23 FCoE configuration
4.24 Language
4.25 Time zone
4.26 Keyboard
4.27 Configuring services and targets
4.28 Network configuration
4.29 Bonding interface configuration
4.30 Bridge interface configuration
4.31 Assigning a persistent name using the MAC address
4.32 Network configuration: proxy
4.33 Security configuration
4.34 Minimal user configuration
4.35 Complex user configuration
4.36 Group configuration
4.37 Enabling autologin and password-less login
4.38 Dumping files into the installed system
4.39 Dumping files into the installed system
4.40 Kdump configuration
4.41 Disabled Kdump configuration
4.42 Kdump memory reservation with multiple values
4.43 Importing SSH keys and configuration from /dev/sda2
4.44 Client/server with manual authentication
4.45 Client/server with preseed keys
4.46 Stand-alone mode
6.1 Simple rules file
6.2 Simple rules file
7.1 Including a file using ERB
7.2 Using the largest disk
7.3 Configure the connected network cards
7.4 Reusing the same profile for different distributions
8.1 Using the MAC address to get the profile
8.2 Accessing ERB helpers from a Ruby script
9.1 Determine HEX code for an IP address
9.2 linuxrc Options in the AutoYaST control file

Copyright © 2006– 2022 SUSE LLC and contributors. All rights reserved.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or (at your option) version 1.3; with the Invariant Section being this copyright notice and license. A copy of the license version 1.2 is included in the section entitled GNU Free Documentation License.

For SUSE trademarks, see https://www.suse.com/company/legal/. All other third-party trademarks are the property of their respective owners. Trademark symbols (®, ™ etc.) denote trademarks of SUSE and its affiliates. Asterisks (*) denote third-party trademarks.

All information found in this book has been compiled with utmost attention to detail. However, this does not guarantee complete accuracy. Neither SUSE LLC, its affiliates, the authors nor the translators shall be held liable for possible errors or the consequences thereof.

Print this page