autoinstallation - stops briefly with "zzz_reboot"

This document (000020337) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 15 SP3

Situation

final_reboot is set in the autoyast control file's mode section.

After the first reboot and some system configuration steps and auto-install settings were finished, a pop-up window with the below "Warning" appears on the screen:

#<Y2Autoinstallation::InitScript:0x000055e552eeda30 @filename="zzz_reboot", @source="shutdown -r now", @location="", @debug=true>
#<Y2Autoinstallation::InitScript:0x000055e552eed9b8 @filename="zzz_reboot", @source="shutdown -r now", @location="", @debug=true>


The pop-up also provides an OK and Stop button.
However without doing anything the window will close automatically after a few seconds and the autoinstallation continues and finishes successfully.

Resolution

Workaround:

Instead of using the "final_reboot" element explicitly add a custom script for reboot, (basically the same which is added by the "final_reboot" option internally by YaST):

<scripts>
  <init-scripts config:type="list">
    <script>
      <filename>zzzz_reboot</filename>
      <interpreter>shell</interpreter>
      <source><![CDATA[shutdown -r now ]]>
      </source>
    </script>
  </init-scripts>
</scripts>

Cause

The code in the autoinst.ycp  adds the script in the Import method unconditionally.
The first script is added when loading the XML in the initial installation, the second is added again when loading the data in the second stage.
 

Status

Reported to Engineering

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:000020337
  • Creation Date: 21-Jul-2021
  • Modified Date:21-Jul-2021
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback@suse.com

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

Join Our Community

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.


SUSE Customer Support Quick Reference Guide SUSE Technical Support Handbook Update Advisories
Support FAQ

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.

Go to Customer Center