Post Install script and the Location element
I'm having some problems getting the "location" element to work in my control file. It appears that the post-scripts section is unable to retrieve the shell script, however, if I use the URL listed in the control file and pass it to 'curl', I am able to retrieve the contents just fine. I have tried using NFS and HTTP, but they both have the same issue. The following is what is defined in my control file <scripts> <post-scripts config:type="list"> <script> <interpreter>shell</interpreter> <location>http://192.168.2.2/post-install.sh</location> </script> </post-scripts> </scripts> Here is a snippit from /var/log/YaST2/y2log 2004-08-27 12:08:37 <1> slestest(1316) [YCP] AutoinstScripts.ycp:440 Writing script into /var/adm/autoinstall/scripts/post-scripts 2004-08-27 12:08:37 <1> slestest(1316) [agent-curl] CurlAgent.cc(Execute):209 Data: 2004-08-27 12:08:37 <1> slestest(1316) [agent-curl] CurlAgent.cc(Execute):210 Output: /var/adm/autoinstall/scripts/post-scripts 2004-08-27 12:08:37 <3> slestest(1316) [agent-curl] CurlAgent.cc(Get):70 curl told us 7 2004-08-27 12:08:37 <3> slestest(1316) [YCP] autoinstall/io.ycp:69 Can't find URL: http://192.168.2.2/post-install.sh 2004-08-27 12:08:37 <3> slestest(1316) [YCP] AutoinstScripts.ycp:445 script http://192.168.2.2/post-install.sh could not be retrieved 2004-08-27 12:08:37 <1> slestest(1316) [YCP] AutoinstScripts.ycp:475 Script Execution command: /bin/sh -x /var/adm/autoinstall/scripts/post-scripts 2&> /var/adm/autoinstall/logs/post-scripts.log Does anyone have any ideas? This is driving me crazy that I cant get something this simple working :) Thanks. Len. ------------------------------------------------------------------------------ Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by the Electronic Communications Privacy Act, 18 U.S.C. 2510-2521, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. ==============================================================================
participants (1)
-
leonard.jacobsen@usbank.com