# install location in custom init script

**URL:** <https://forums.suse.com/t/install-location-in-custom-init-script/21624>\
**Category:** SLES Install-Boot\
**Created:** [November 21, 2011, 8:26am UTC](https://forums.suse.com/t/install-location-in-custom-init-script/21624 "2011-11-21T08:26:02Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![System1](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@System1](https://forums.suse.com/u/System1)\
**Post date:** [November 21, 2011, 8:26am UTC](https://forums.suse.com/t/install-location-in-custom-init-script/21624/1 "2011-11-21T08:26:02Z")

</div>

Hi,

I am trying to pxe install a SLES 11.1 installation from an ftp server  
with  
a custom autoyast xml file. The installation image and autoyast xml  
file resides on an ftp server with necessary boot files available via

a tftp server.

The installation goes ok but I need to do fetch few extra rpm’s and  
config files from the install location (ftp server) and execute some  
commands over them. I have an init script embedded in the autoyast xml

file to get his done but presently with ftp server paths hardcoded in

it ☹

I want this script to be as generic as possible as my t/ftp server may

change its location in the future. In which case i dont want to go  
through the pain of changing the hardcoded ftp paths in the init  
script.

Please guide on how is it possible to get the location of autoyast  
file within the script itself.

Thanks & Regards,  
vj

## – vaibhav92

vaibhav92’s Profile: [http://forums.novell.com/member.php?userid=120017](http://forums.novell.com/member.php?userid=120017)  
View this thread: [http://forums.novell.com/showthread.php?t=448478](http://forums.novell.com/showthread.php?t=448478)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex022/uploads/suse/original/2X/5/5012ba89e3ffb5220dac47d5ea0ba032e2fe1cb6.png) [@system](https://forums.suse.com/u/system)\
**Post date:** [November 25, 2011, 7:08pm UTC](https://forums.suse.com/t/install-location-in-custom-init-script/21624/2 "2011-11-25T19:08:00Z")

</div>

vaibhav92,

It appears that in the past few days you have not received a response to your  
posting. That concerns us, and has triggered this automated reply.

Has your problem been resolved? If not, you might try one of the following options:

- Visit [http://support.novell.com](http://support.novell.com) and search the knowledgebase and/or check all  
the other self support options and support programs available.
- You could also try posting your message again. Make sure it is posted in the  
correct newsgroup. ([http://forums.novell.com](http://forums.novell.com))

Be sure to read the forum FAQ about what to expect in the way of responses:  
[http://forums.novell.com/faq.php](http://forums.novell.com/faq.php)

If this is a reply to a duplicate posting, please ignore and accept our apologies  
and rest assured we will issue a stern reprimand to our posting bot.

Good luck!

Your Novell Product Support Forums Team  
[http://forums.novell.com/](http://forums.novell.com/)
