Jump to contentJump to page navigation: previous page [access key p]/next page [access key n]
openSUSE Leap 15.1

AutoYaST Guide

AutoYaST is a system for unattended mass deployment of openSUSE Leap 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: April 21, 2020
1 Introduction
1.1 Motivation
1.2 Overview and Concept
2 The Control File
2.1 Introduction
2.2 Format
2.3 Structure
3 Creating a 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
4 Configuration and Installation Options
4.1 General Options
4.2 Reporting
4.3 The Boot Loader
4.4 Partitioning
4.5 iSCSI Initiator Overview
4.6 Fibre Channel over Ethernet Configuration (FCoE)
4.7 Country Settings
4.8 Software
4.9 Upgrade
4.10 Services and Targets
4.11 Network Configuration
4.12 NIS Client
4.13 NIS Server
4.14 Hosts Definition
4.15 Windows Domain Membership
4.16 Samba Server
4.17 Authentication Client
4.18 NFS Client and Server
4.19 NTP Client
4.20 Mail Configuration
4.21 HTTP Server Configuration
4.22 Squid Server
4.23 FTP Server
4.24 TFTP Server
4.25 Firstboot Workflow
4.26 Security Settings
4.27 Linux Audit Framework (LAF)
4.28 Users and Groups
4.29 Custom User Scripts
4.30 System Variables (Sysconfig)
4.31 Adding Complete Configurations
4.32 Ask the User for Values during Installation
4.33 Kernel Dumps
4.34 DNS Server
4.35 DHCP Server
4.36 Firewall Configuration
4.37 Miscellaneous Hardware and System Components
4.38 Importing SSH Keys and Configuration
4.39 Configuration Management
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
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
7 Running AutoYaST in an Installed System
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 Main Differences Between openSUSE Leap 42.3 and 15 Profiles
D.1 Partitioning
D.2 Firewall Configuration
D.3 NTP Configuration
D.4 AutoYaST Packages Are Needed for the Second Stage
D.5 The CA Management Module Has Been Dropped
D.6 Upgrade
E GNU Licenses
E.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 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 bcache Definition
4.15 NFS Share Definition
4.16 iSCSI client
4.17 FCoE configuration
4.18 Language
4.19 Timezone
4.20 Keyboard
4.21 Package Selection in the Control File with Patterns and Packages Sections
4.22 Activating Image Deployment
4.23 Creating a Package Database With the Additional Package inst-source-utils.rpm
4.24 add_on_products.xml
4.25 Adding the SDK Extension and a User Defined Repository
4.26 Kernel Selection in the Control File
4.27 Package Selection in Control File
4.28 Upgrade and Backup
4.29 Configuring Services and Targets
4.30 Network configuration
4.31 Bridge Interface Configuration
4.32 Network configuration: Proxy
4.33 Network configuration: NIS
4.34 NIS Server Configuration
4.35 /etc/hosts
4.36 Samba Client configuration
4.37 Samba Server configuration
4.38 Network Configuration: NFS Client
4.39 Network Configuration: NFS Server
4.40 Network Configuration: NTP Client
4.41 Mail Configuration
4.42 HTTP Server Configuration
4.43 Squid Server Configuration
4.44 FTP server configuration:
4.45 TFTP server configuration:
4.46 Enabling Firstboot Workflow
4.47 Security configuration
4.48 LAF configuration
4.49 Minimal User Configuration
4.50 Complex User Configuration
4.51 Group Configuration
4.52 Enabling autologin and password-less login
4.53 Script Configuration
4.54 Sysconfig Configuration
4.55 Dumping files into the installed system
4.56 Dumping files into the installed system
4.57 Kdump configuration
4.58 Kdump memory reservation with multiple values
4.59 Basic DNS server settings
4.60 Configuring DNS server zones and advanced settings
4.61 Example dhcp-server section
4.62 Example firewall section
4.63 Printer configuration
4.64 Sound configuration
4.65 Importing SSH Keys and Configuration from /dev/sda2
4.66 Client/Server with Manual Authentication
4.67 Client/Server with Preseed Keys
4.68 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 Specifying the Btrfs Default Subvolume Name
D.2 Disabling Btrfs Subvolumes
D.3 Assigning Zones: Default Configuration (Deprecated Syntax)
D.4 Assigning Zones: Default Configuration (Leap 15 Syntax)
D.5 Masquerading and Protecting Internal Zones (Deprecated Syntax)
D.6 Masquerading and Protecting Internal Zones (Leap 15 Syntax)
D.7 Opening Ports (Deprecated Syntax)
D.8 Opening Ports (Leap 15 Syntax)
D.9 Opening Services (Deprecated Syntax)
D.10 Opening Services (Leap 15 Syntax)
D.11 NTP configuration (Leap 15 Syntax)

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