Re: Feature: Add <location> tag to <file_script> to get file script from remote location

Thomas Fehr <[email protected]>
Newsgroups gmane.linux.suse.autoinstall
Message-ID <[email protected]>
Hi,

On Fri, Nov 16, Joschi Brauchle wrote:

> 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.

I will have a look after I am back from vacation.
Should not be too hard to implement.

Tschuess, 
	Thomas Fehr
-- 
  Thomas Fehr, SuSE Linux Products GmbH, Maxfeldstr. 5, 90409 Nuernberg, Germany
  GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
  Tel: +49-911-74053-0,  Fax: +49-911-74053-482,  Email: [email protected]
  GPG public key available.
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.