Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

install location in custom init scrip

2 views
Skip to first unread message

vj

unread,
Nov 20, 2011, 4:59:20 AM11/20/11
to
Hi,

I am trying to pxe install a SLES 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 with presently 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
0 new messages