Hello Jochen, well, yes, your example is for a normal script, like an init/post/chroot script, right? There, the "location" tag exists and works nicely. But I would like to use a "location" tag inside a "file_script" tag, inside a "file" tag, like so: ----------- <files config:type="list"> <file> <file_path>##some filename###</file_path> <file_permissions>644</file_permissions> <file_owner>root:root</file_owner> <file_contents><![CDATA[ ### SOME FILE CONTENT ### ]]></file_contents> <file_script> <interpreter>shell</interpreter> <location>### remote URL -- This tag is not working ###</location> </file_script> </file> </files> ----------- This does not work for me... From the file XML schema, it looks like only "source" and "interpreter" are valid inside the "file_script" tag. Hence, my feature request. On 11/16/2012 10:33 AM, Jochen Schaefer wrote:
Hi Joschi,
That one is working for me
<!-- pts> <init-scripts config:type="list"> <listentry> <filename>post-inst.sh</filename> <interpreter>shell</interpreter> <location>http://<my_server>/scripts/post-inst.sh</location> </listentry> </init-scripts> </scr --s>
Regards, Jochen
Joschi Brauchle 16.11.12 10.02 Uhr >>> Hi,
I have a pretty long bash script as a , modifying one of the files provided via .
I tried to move the script source out of the XML file by using a tag instead of the inside the . But it looks like this is not supported yet...would be nice to have though!
Best regards, J Brauchle
-- Dipl.-Ing. Joschi Brauchle, M.S. Institute for Communications Engineering (LNT) Technische Universitaet Muenchen (TUM) 80290 Munich, Germany Tel (work): +49 89 289-23474 Fax (work): +49 89 289-23490 E-mail: joschi.brauchle@tum.de Web: http://www.lnt.ei.tum.de/