Skip to content


Switch branches/tags

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

YaST - The AutoYaST Framework

Workflow Status Jenkins Status Coverage Status


This module is developed as part of YaST. See the development documentation.

Have a look to the AutoYaST Development Documentation if you would like to implement AutoYaST support for your YaST module.

Getting the Sources

To get the source code, clone the GitHub repository:

$ git clone

If you want to contribute into the project you can fork the repository and clone your fork.

Testing Environment

There are several possibilities how test an updated code. It also depends on the fact in which stage of installation it comes into effect. First stage runs between the start from installation media to reboot (or kexec), then continues second stage.

First Stage

Either use StartShell=1 option in Linuxrc, edit the installation system and run yast manually or use a DriverUpdate via Linuxrc.

Second Stage

There are two possible ways how to rerun this stage, just keep in mind that the system might be already configured and thus it might behave a bit differently:

cp /var/lib/YaST2/install.inf /etc/
touch /var/lib/YaST2/runme_at_boot
cp /var/adm/autoinstall/cache/installedSystem.xml \

or faster without rebooting but with possible side-effects:

yast ayast_setup setup filename=/var/adm/autoinstall/cache/installedSystem.xml

Auto Upgrade

Beside unattended installation this module provide also ability to do unattended upgrade.


  • Semi automatic mode
  • Without autoyast profile on the boot command line it reads the profile from /root/autoupg.xml file
  • When using the Online installation medium the AutoYaST XML profile can be empty


To test autoupgrade run upgrade with parameters autoupgrade=1 and profile e.g. autoyast= Following example profiles used for testing online and full media.

Online on registered system:

<?xml version="1.0"?>
<!DOCTYPE profile>
<profile xmlns="" xmlns:config="">

Full on system without registration:

<?xml version="1.0"?>
<!DOCTYPE profile>
<profile xmlns="" xmlns:config="">
    <stop_on_solver_conflict config:type="boolean">true</stop_on_solver_conflict>

    <products config:type="list">

    <add_on_products config:type="list">
        <ask_on_error config:type="boolean">false</ask_on_error>

Additional Documentation

  • {file:doc/ Profile Handling}
  • {file:doc/ Profile Fetching}
  • {file:doc/ Profile Validation}
  • {file:doc/ Error Reporting}
  • {file:doc/ Network Scenarios}
  • {file:doc/ Old Multipath Support}


If you have any question, feel free to ask at the development mailing list or at the #yast IRC channel on freenode.