Jump to contentJump to page navigation: previous page [access key p]/next page [access key n]
SUSE Linux Enterprise Server 15 SP1

AutoYaST Guide

AutoYaST is a system for unattended mass deployment of SUSE Linux Enterprise Server systems using an AutoYaST profile containing installation and configuration data. The manual guides you through the basic steps of auto-installation: preparation, installation, and configuration.

Publication Date: October 23, 2020
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 Using the Configuration Management System (CMS)
3.3 Creating/Editing a Control File Manually
3.4 Creating a Control File via Script with XSLT
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 Upgrade
4.11 Services and Targets
4.12 Network Configuration
4.13 NIS Client and Server
4.14 NIS Serve
4.15 Hosts Definition
4.16 Windows Domain Membership
4.17 Samba Server
4.18 Authentication Client
4.19 NFS Client and Server
4.20 NTP Client
4.21 Mail Server Configuration
4.22 Apache HTTP Server Configuration
4.23 Squid Server
4.24 FTP Server
4.25 TFTP Server
4.26 Firstboot Workflow
4.27 Security Settings
4.28 Linux Audit Framework (LAF)
4.29 Users and Groups
4.30 Custom User Scripts
4.31 System Variables (Sysconfig)
4.32 Adding Complete Configurations
4.33 Ask the User for Values during Installation
4.34 Kernel Dumps
4.35 DNS Server
4.36 DHCP Server
4.37 Firewall Configuration
4.38 Miscellaneous Hardware and System Components
4.39 Importing SSH Keys and Configuration
4.40 Configuration Management
III Managing Mass Installations with Rules and Classes
5 Rules and Classes
5.1 Rule-based Automatic Installation
5.2 Classes
5.3 Mixing Rules and Classes
5.4 Merging of Rules and Classes
IV Understanding the Auto-Installation Process
6 The Auto-Installation Process
6.1 Introduction
6.2 Choosing the Right Boot Medium
6.3 Invoking the Auto-Installation Process
6.4 System Configuration
V Uses for AutoYaST on Installed Systems
7 Running AutoYaST in an Installed System
VI Appendices
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 Differences Between AutoYaST Profiles in SLE 12 and 15
D.1 Product Selection
D.2 Software
D.3 Registration of Module and Extension Dependencies
D.4 Partitioning
D.5 Firewall Configuration
D.6 NTP Configuration
D.7 AutoYaST Packages Are Needed for the Second Stage
D.8 The CA Management Module Has Been Dropped
D.9 Upgrade
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 Using a Whole Disk as a File System
4.4 Automated Partitioning
4.5 Detailed Automated Partitioning
4.6 Mount Options
4.7 Keeping partitions
4.8 Auto-detection of partitions to be kept.
4.9 Create LVM Physical Volume
4.10 LVM Logical Volumes
4.11 RAID1 Configuration
4.12 RAID1 Without Partitions
4.13 Old Style RAID1 Configuration
4.14 Using Multipath Devices
4.15 Listing multipath devices
4.16 Using the WWID to Identify a Multipath Device
4.17 bcache Definition
4.18 NFS Share Definition
4.19 iSCSI client
4.20 FCoE configuration
4.21 Language
4.22 Timezone
4.23 Keyboard
4.24 Explicit Product Selection
4.25 Package Selection in the Control File with Patterns and Packages Sections
4.26 Creating a Package Database With the Additional Package inst-source-utils.rpm
4.27 add_on_products.xml
4.28 Adding the SDK Extension and a User Defined Repository
4.29 Kernel Selection in the Control File
4.30 Package Selection in Control File
4.31 Upgrade and Backup
4.32 Configuring Services and Targets
4.33 Network configuration
4.34 Bridge Interface Configuration
4.35 Network configuration: Proxy
4.36 Network configuration: NIS
4.37 NIS Server Configuration
4.38 /etc/hosts
4.39 Samba Client configuration
4.40 Samba Server configuration
4.41 Network Configuration: NFS Client
4.42 Network Configuration: NFS Server
4.43 Network Configuration: NTP Client
4.44 Mail Configuration
4.45 HTTP Server Configuration
4.46 Squid Server Configuration
4.47 FTP server configuration:
4.48 TFTP server configuration:
4.49 Enabling Firstboot Workflow
4.50 Security configuration
4.51 LAF configuration
4.52 Minimal User Configuration
4.53 Complex User Configuration
4.54 Group Configuration
4.55 Enabling autologin and password-less login
4.56 Script Configuration
4.57 Sysconfig Configuration
4.58 Dumping files into the installed system
4.59 Dumping files into the installed system
4.60 Kdump configuration
4.61 Kdump memory reservation with multiple values
4.62 Basic DNS server settings
4.63 Configuring DNS server zones and advanced settings
4.64 Example dhcp-server section
4.65 Example firewall section
4.66 Printer configuration
4.67 Sound configuration
4.68 Importing SSH Keys and Configuration from /dev/sda2
4.69 Client/Server with Manual Authentication
4.70 Client/Server with Preseed Keys
4.71 Standalone Mode
5.1 Simple Rules File
5.2 Simple Rules File
6.1 Determine HEX code for an IP address
6.2 linuxrc Options in the AutoYaST Control File
D.1 Adding Modules and Extensions (online)
D.2 Adding Modules and Extensions (offline)
D.3 Specifying the Btrfs Default Subvolume Name
D.4 Disabling Btrfs Subvolumes
D.5 Assigning Zones: Default Configuration (Deprecated Syntax)
D.6 Assigning Zones: Default Configuration (SLE 15 Syntax)
D.7 Masquerading and Protecting Internal Zones (Deprecated Syntax)
D.8 Masquerading and Protecting Internal Zones (SLE 15 Syntax)
D.9 Opening Ports (Deprecated Syntax)
D.10 Opening Ports (SLE 15 Syntax)
D.11 Opening Services (Deprecated Syntax)
D.12 Opening Services (SLE 15 Syntax)
D.13 NTP configuration (SLE 15 Syntax)
D.14 Minimal Registration Configuration for Upgrade

Copyright © 2006– 2020 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