Bug #34311


AutoYaST SLES template invalid for SLES 15 SP3

Added by Tim Eilers about 2 years ago. Updated about 2 years ago.

Target version:
Fixed in Releases:
Found in Releases:


The autoyast installation of SLES 15 SP3 does not like a few XML elements of the AutoYaST SLES template anymore:

"dhcp_resolv" is not supported anymore as it looks (

The whole "runlevel" block is not supported anymore (
Instead it needs to look like this:


With these two changes the XML gets valid again. (Can not confirm that 100%-ly, since we use our own copied templated with a few custom modifications and made those changes there)

It is worth to mention that SuSE made this changes under the hood between SLES 15 SP2 and SLES 15 SP3 without mentioning those changes in the documentations :-/

Actions #1

Updated by Lukas Zapletal about 2 years ago

  • Triaged changed from No to Yes

Hello, thanks for the report. Contributions welcomed!

Actions #2

Updated by The Foreman Bot about 2 years ago

  • Status changed from New to Ready For Testing
  • Pull request added
Actions #3

Updated by Tim Eilers about 2 years ago

Sorry, this issue got out of my view. We had to make a few further changes, until it really worked:

This had to be added into the pre-script section:

rpmkeys --import

Without it, you can tell it to accept the GPG key and signature of the puppet package in any way, it just would not accept it.

Also we had the problem, that a puppet run started already after the first reboot, but failed to run successful, since f.e. package installs where blocked by YaST, which blocked zypper. So we moved the enable of the puppet service to "init-scripts" section and moved it out of the "puppet_setup" snippet in case of SLES >= 15. This way it is first enabled after the first reboot and first starts with the second reboot, which is a normal reboot, where all install actions are done.

We have some further modifications specific to our infrastructure, so i am sorry, that i can not test your PR.

Actions #4

Updated by The Foreman Bot about 2 years ago

  • Fixed in Releases 3.3.0 added
Actions #5

Updated by Anonymous about 2 years ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF