SUSE Support

Here When You Need Us

Autoyast Init Script does not correctly translate relurl

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


SUSE Linux Enterprise Server 11 Service Pack 1


In SLES11 it is possible to place your custom user scripts in the same location as the autoyast files and refer to them with the syntax relurl:///<script_name>.

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:/// 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

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:


This issue has been reported to engineering.

Additional Information

This issue can be worked around using a chroot-script incorporating the following snippet:

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

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]

SUSE Support Forums

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

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.

Open an Incident

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