I am trying to use some code that has been posted to make teh autoyast process load a different profile file.
The code I have is :
<question>Choose a profile</question>
wget http://10.10.0.162/$VAL -O /tmp/profile/modified.xml 2>/dev/null
The problem I am having is that I want to use this for a build from physical Media ( ie a DVD ).
It works fine as shown, but if the part1.xml and part2.xml are written to the root of the build DVD, how do I reference those files ?
I want to change the line that says :
wget http://10.10.0.162/$VAL -O /tmp/profile/modified.xml
To be something like :
cp /$VAL -O /tmp/profile/modified.xml
But I cant work out how to point at the file on the local build media that the build has just booted off.
I have tried :
cp ///$VAL -O /tmp/profile/modified.xml
cp cd:///$VAL -O /tmp/profile/modified.xml
but the fiel is still not copied.
Can someone tell me how to refer to a file in the root of the bootable build ISO or media or is there somewhere else in the structure that I can put these files that is easier to have autoyast refer to ?