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

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: December 03, 2021
Preface
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 Software
4.10 Services and targets
4.11 Network configuration
4.12 Proxy
4.13 Security settings
4.14 Users and groups
4.15 Custom user scripts
4.16 Adding complete configurations
4.17 Ask the user for values during installation
4.18 Kernel dumps
4.19 Firewall configuration
4.20 Importing SSH keys and configuration
4.21 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
2.4 An empty map
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 Package selection in the control file with patterns and packages sections
4.28 Creating a package database with the additional package inst-source-utils.rpm
4.29 add_on_products.xml
4.30 Adding the SDK extension and a user defined repository
4.31 Kernel selection in the control file
4.32 Configuring services and targets
4.33 Network configuration
4.34 Bonding interface configuration
4.35 Bridge interface configuration
4.36 Multiple IP Addresses
4.37 Assigning a persistent name using the MAC address
4.38 Network routing configuration
4.39 Network configuration: proxy
4.40 Security configuration
4.41 Minimal user configuration
4.42 Complex user configuration
4.43 Group configuration
4.44 Enabling autologin and password-less login
4.45 Dumping files into the installed system
4.46 Dumping files into the installed system
4.47 Kdump configuration
4.48 Disabled Kdump configuration
4.49 Kdump memory reservation with multiple values
4.50 Example firewall section
4.51 Importing SSH keys and configuration from /dev/sda2
4.52 Client/server with manual authentication
4.53 Client/server with preseed keys
4.54 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
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– 2021 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