Hi,
I have a pretty long bash script as a <file_script>, modifying one of the files provided via <file>.
I tried to move the script source out of the XML file by using a <location> tag instead of the <source> inside the <file_script>. But it looks like this is not supported yet...would be nice to have though!
Best regards, J Brauchle
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
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
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
On 11/16/2012 06:44 PM, Thomas Fehr wrote:
On Fri, Nov 16, Joschi Brauchle wrote:
<location>### remote URL -- This tag is not working
###</location> 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.
Is this really safe? It should be either used on trusted networks or using some secure connection (HTTPS, FTPS) but then it again might be problem with (commonly used) self-signed certificates.
Bye Lukas
On 11/19/2012 10:32 AM, Lukas Ocilka wrote:
On 11/16/2012 06:44 PM, Thomas Fehr wrote:
On Fri, Nov 16, Joschi Brauchle wrote:
<location>### remote URL -- This tag is not working
###</location> 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.
Is this really safe? It should be either used on trusted networks or using some secure connection (HTTPS, FTPS) but then it again might be problem with (commonly used) self-signed certificates.
Yes, one should only use this on trusted networks.
But, why should this be anymore safe/unsafe than the existing & working <location> tag for the init/chroot/... script sections?
On Fri, Nov 16, Thomas Fehr wrote:
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.
I finally found time to implement and test this. It will be supported starting with autoyast version 2.24.2. First distribution with this will be openSuSE 13.1
Tschuess, Thomas Fehr
autoinstall@lists.opensuse.org