autoinstallation - stops briefly with "zzz_reboot"
This document (000020337) is provided subject to the disclaimer at the end of this document.
Environment
Situation
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 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.
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: 16-Jul-2021
- Modified Date:04-Oct-2021
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com