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

B Minimalist AutoYaST Profile for Automated Installations and Useful Enhancements

The AutoYaST profile in this section installs a SUSE Linux Enterprise Server system with all default installation options including a default network configuration using DHCP. After the installation is finished, a bootstrap script located on the SUSE Manager server is executed in order to register the freshly installed system with SUSE Manager. You need to adjust the IP address of the SUSE Manager server, the name of the bootstrap script, and the root password according to your environment:



The complete AutoYaST file:

<?xml version="1.0"?>
<!DOCTYPE profile>
<profile xmlns="http://www.suse.com/1.0/yast2ns"
   <confirm config:type="boolean">false</confirm>
  <keep_install_network config:type="boolean">true</keep_install_network>
  <install_recommended config:type="boolean">true</install_recommended>
   <patterns config:type="list">
 <users config:type="list">
   <encrypted config:type="boolean">false</encrypted>
  <init-scripts config:type="list">

Use this enhancement fragment to add child channels:

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

Replace channel-label and distribution-label with the correct labels (such as sles11-sp1-updates-x86_64 and sles11-sp2-x86_64). Ensure that the distribution label corresponds to the Autoinstallable Distribution. Set the variables (such as $c_server) according to your environment. For information about variables, see Book “Reference Manual”, Chapter 7 “Systems”, Section 7.18 “Autoinstallation > Distributions”, Section 7.18.1 “Autoinstallation > Distributions > Variables”.

Important: Add the Updates Channel

It is required that you add the updates tools channel to the <add-on> AutoYaST snippet section. This ensures your systems are provided with an up-to-date version of the libzypp package. If you do not include the updates tools channel, you will encounter 400 errors. In this example, the (DISTRIBUTION_NAME) is replaced with the name of the autoinstallation distribution, as created previously, from Systems › Autoinstallation › Distributions

     <ask_on_error config:type="boolean">true</ask_on_error>
     <name>sles12 sp2 updates</name>
Print this page