Right!!!! you got it!!! Carsten Dumke wrote:
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.
This was exactly what happened. It seems that autoinstall fails without leaving any crumbs or clues. Some of the files under /var/adm/autoinstall are created when the process successes not when it fails so you are alone... except with the list :-) Thanks a lot. Now I can autoinstall my targets at last.
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