Network autoyast init-script files fail to download via location tag
This document (7017131) is provided subject to the disclaimer at the end of this document.
Environment
AutoYaST
Situation
<init-scripts config:type="list">The script is accessible on the web server, but it never downloaded during the autoyast installation process.
<script>
<filename>postinstall_procedures.sh</filename>
<interpreter>shell</interpreter>
<location><![CDATA[http://IP_ADDR/postinstall_procedures.sh]]></location>
</script>
</init-scripts>
Resolution
ftp.suse.com/pub/l3/bsc-961320/
You can also use the following workaround as an alternative.
<scripts>
<init-scripts config:type="list">
<script>
<filename>postinstall_procedures.sh</filename>
<interpreter>shell</interpreter>
<source><![CDATA[
#!/bin/sh
#The entire content of the postinstall_procedures.sh script goes here.
#or use wget/curl and run it '/bin/sh <script name>'
]]>
</source>
</script>
</init-scripts>
</scripts>
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:7017131
- Creation Date: 06-Jan-2016
- Modified Date:03-Mar-2020
-
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com