Autoyast Init Script does not correctly translate relurl
This document (7007632) is provided subject to the disclaimer at the end of this document.
This feature currently does not work with Init-type autoyast scripts (scripts executed during the initial boot process after YaST2 has finished). For example, given an autoyast launched from
relurl:///init-script-foo.sh should be expanded to
However, the installation fails when autoyast cannot find the specified script. A look at the y2log shows that the host has been replaced, but not the directory:
2011-01-05 10:13:15 <1> linux(9280) [YCP] AutoinstScripts.ycp:201 changed relurl to http://10.0.0.4//init-script-foo.sh
As this location does not exist, the file cannot be downloaded:
2011-01-05 10:13:32 <3> testhost(9280) [YCP] autoinstall/io.ycp:84 Can't find URL: http://10.0.0.4//init-script-foo.sh
if grep "11 SP1" /mnt/etc/issue; then
sed -i.orig -e "s/AutoinstConfig::directory/dirname(AutoinstConfig::filepath)/"
chroot /mnt ycpc -c /usr/share/YaST2/modules/AutoinstScripts.ycp
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:7007632
- Creation Date: 21-Jan-2011
- Modified Date:03-Mar-2020
- SUSE Linux Enterprise Server
For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com