Hello Pablo, You wrote:
hello again
last one for today
This is my non-working <post-scripts> section.
<post-scripts> <script> <filename>userinstall.sh</filename> <interpreter>shell</interpreter> <source> <![CDATA[ #!/bin/sh echo "AQUI ESTOY" > /tmp/aquivengo ]]> </source> </script> </post-scripts>
DOUBTS:
(he he, not working, why? :-))
Have a look at the generated file. You will notice the empty first line. Placing "#!/bin/sh" on the first line should solve Your problem.
what's the use of the <filename> subsection. If i am specifying the whole contents of the script, what do i need to provide a script name for?
This is the name of the script in /var/adm/autoinstall/scripts.
i was expecting to get a file /tmp/aquivengo in the target system containing the text "AQUI ESTOY" but the installation process i over, the file is not there.
Any clue?
Look at /var/adm/autoinstall/logs/userinstall.sh Ciao, Carsten