[opensuse-autoinstall] RE: How to fetch scripts from outside profile file (was: AutoYast script location)

SGVsbG8gRXZlcnlvbmUsDQogDQpJIGFtIHRyeWluZyB0byBmZXRjaCB0aGUgY2hyb290LCBwb3N0IGFuZCBpbml0IHNjcmlwdHMgZnJvbSB0aGUgY2QgaW5zdGVhZCBvZiBkaXJlY3RseSBpbmNsdWRpbmcgdGhlbSBpbiB0aGUgcHJvZmlsZSBmaWxlLg0KV2UgYXJlIHVzaW5nIFNMRVMtMTAtU1AxDQogDQpJIGhhdmUgdXNlZCBiZWxvdyBzdHJ1Y3R1cmUgaW4gdGhlIHByb2ZpbGUgZmlsZToNCiANCiA8c2NyaXB0cz4NCiAgICAgICAgPGNocm9vdC1zY3JpcHRzIGNvbmZpZzp0eXBlPSJsaXN0Ij4NCiAgICAgICAgICAgPHNjcmlwdD4NCiAgICAgICAgICAgICAgICA8Y2hyb290ZWQgY29uZmlnOnR5cGU9ImJvb2xlYW4iPnRydWU8L2Nocm9vdGVkPg0KICAgICAgICAgICAgICAgIDxpbnRlcnByZXRlcj5zaGVsbDwvaW50ZXJwcmV0ZXI+DQogICAgICAgICAgICAgICAgPGZpbGVuYW1lPmJwX2Nocm9vdGVkLnNoPC9maWxlbmFtZT4NCiAgICAgICAgICAgICAgICA8bG9jYXRpb24+ZmlsZTovLy9hdXRveWFzdC9icF9jaHJvb3RlZC5zaDwvbG9jYXRpb24+DQogICAgICAgICAgIDwvc2NyaXB0Pg0KICAgICAgICA8L2Nocm9vdC1zY3JpcHRzPg0KICAgICAgICA8cG9zdC1zY3JpcHRzIGNvbmZpZzp0eXBlPSJsaXN0Ij4NCiAgICAgICAgICAgPHNjcmlwdD4NCiAgICAgICAgICAgICAgICA8ZmlsZW5hbWU+YnBfcG9zdC5zaDwvZmlsZW5hbWU+DQogICAgICAgICAgICAgICAgPGludGVycHJldGVyPnNoZWxsPC9pbnRlcnByZXRlcj4NCiAgICAgICAgICAgICAgICA8bG9jYXRpb24+ZmlsZTovLy9hdXRve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GdlZnVuZGVuDQoyMDExLTA0LTI5IDEzOjExOjIwIDwzPiBzZXR1cCg0MDk5KSBbWUNQXSBBdXRvaW5zdFNjcmlwdHMueWNwOjQ3MSBzY3JpcHQgZmlsZTovLy9hdXRveWFzdC9icF9pbml0LnNoIDxmaWxlOi8vL2F1dG95YXN0L2JwX2luaXQuc2g+ICBjb3VsZCBub3QgYmUgcmV0cmlldmVkDQogDQogDQpXaXRoIGJlc3QgcmVnYXJkcywNClNyYXZhbg0K-- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.orgFor additional commands, e-mail: opensuse-autoinstall+help@opensuse.org

Hello, I tried some more possibilities by playing around with the location of scripts. But no use :-( <scripts> <chroot-scripts config:type="list"> <script> <chrooted config:type="boolean">true</chrooted> <interpreter>shell</interpreter> <filename>bp_chrooted.sh</filename> <location>file://bp_chrooted.sh</location> </script> </chroot-scripts> <post-scripts config:type="list"> <script> <filename>bp_post.sh</filename> <interpreter>shell</interpreter> <location>file:///bp_post.sh</location> </script> </post-scripts> <init-scripts config:type="list"> <script> <filename>bp_init.sh</filename> <interpreter>shell</interpreter> <location>file://autoyast/bp_init.sh</location> </script> </init-scripts> </scripts> Log: 2011-04-29 16:17:39 <1> 10.99.2.1(3365) [YCP] clients/autoinst_scripts2_finish.ycp:33 starting autoinst_scripts2_finish 2011-04-29 16:17:39 <1> 10.99.2.1(3365) [YCP] AutoinstScripts.ycp:484 Writing chroot script into /mnt/var/adm/autoinstall/scripts/bp_chrooted.sh 2011-04-29 16:17:39 <1> 10.99.2.1(3365) [agent-system] SystemAgent.cc(Execute):1098 mkdir /tmp/YaST2-03365-9RenPx/tmp_mount 2011-04-29 16:17:39 <1> 10.99.2.1(3365) [YCP] autoinstall/io.ycp:112 Copy profile: cp /var/adm/mount/ /mnt/var/adm/autoinstall/scripts/bp_chrooted.sh 2011-04-29 16:17:39 <1> 10.99.2.1(3365) [YCP] autoinstall/io.ycp:131 Trying to find file on installation media: cd 2011-04-29 16:17:43 <1> 10.99.2.1(3365) [YCP] autoinstall/io.ycp:145 Copy profile: cp /tmp/YaST2-03365-9RenPx/tmp_mount/ /mnt/var/adm/autoinstall/scripts/bp_chrooted.sh 2011-04-29 16:17:43 <3> 10.99.2.1(3365) [YCP] AutoinstScripts.ycp:489 script file://bp_chrooted.sh could not be retrieved 2011-04-29 16:17:43 <1> 10.99.2.1(3365) [YCP] AutoinstScripts.ycp:548 Script Execution command: /bin/sh -x /mnt/var/adm/autoinstall/scripts/bp_chrooted.sh 2&> /mnt/var/adm/autoinstall/logs/bp_chrooted.sh.log 2011-04-29 16:17:43 <1> 10.99.2.1(3365) [YCP] clients/autoinst_scripts2_finish.ycp:57 autoinst_scripts2_finish finished 2011-04-29 16:23:53 <1> setup(4099) [rpm] RpmDb.cc(~RpmDb):300 ~RpmDb() end 2011-04-29 16:23:53 <1> setup(4099) [YCP] AutoinstScripts.ycp:502 Writing script into /var/adm/autoinstall/scripts/bp_post.sh 2011-04-29 16:23:53 <1> setup(4099) [agent-system] SystemAgent.cc(Execute):1098 mkdir /tmp/YaST2-04099-jGfbWg/tmp_mount 2011-04-29 16:23:53 <1> setup(4099) [YCP] autoinstall/io.ycp:119 Copy profile: cp /bp_post.sh /var/adm/autoinstall/scripts/bp_post.sh 2011-04-29 16:23:53 <3> setup(4099) [bash] ShellCommand.cc(shellcommand):78 cp: Aufruf von stat für „/bp_post.sh“ nicht möglich: Datei oder Verzeichnis nicht gefunden 2011-04-29 16:23:53 <1> setup(4099) [YCP] autoinstall/io.ycp:131 Trying to find file on installation media: cd 2011-04-29 16:23:55 <1> setup(4099) [YCP] autoinstall/io.ycp:145 Copy profile: cp /tmp/YaST2-04099-jGfbWg/tmp_mount//bp_post.sh /var/adm/autoinstall/scripts/bp_post.sh 2011-04-29 16:23:55 <3> setup(4099) [bash] ShellCommand.cc(shellcommand):78 cp: Aufruf von stat für „/tmp/YaST2-04099-jGfbWg/tmp_mount//bp_post.sh“ nicht möglich: Datei oder Verzeichnis nicht gefunden 2011-04-29 16:23:55 <3> setup(4099) [YCP] AutoinstScripts.ycp:507 script file:///bp_post.sh could not be retrieved 2011-04-29 16:23:55 <1> setup(4099) [YCP] AutoinstScripts.ycp:548 Script Execution command: /bin/sh -x /var/adm/autoinstall/scripts/bp_post.sh 2&> /var/adm/autoinstall/logs/bp_post.sh.log 2011-04-29 16:23:55 <1> setup(4099) [YCP] AutoinstScripts.ycp:465 Writing init script into /var/adm/autoinstall/init.d/bp_init.sh 2011-04-29 16:23:55 <1> setup(4099) [agent-system] SystemAgent.cc(Execute):1098 mkdir /tmp/YaST2-04099-jGfbWg/tmp_mount 2011-04-29 16:23:55 <1> setup(4099) [YCP] autoinstall/io.ycp:119 Copy profile: cp /bp_init.sh /var/adm/autoinstall/init.d/bp_init.sh 2011-04-29 16:23:55 <3> setup(4099) [bash] ShellCommand.cc(shellcommand):78 cp: Aufruf von stat für „/bp_init.sh“ nicht möglich: Datei oder Verzeichnis nicht gefunden 2011-04-29 16:23:55 <1> setup(4099) [YCP] autoinstall/io.ycp:131 Trying to find file on installation media: cd 2011-04-29 16:23:56 <1> setup(4099) [YCP] autoinstall/io.ycp:145 Copy profile: cp /tmp/YaST2-04099-jGfbWg/tmp_mount//bp_init.sh /var/adm/autoinstall/init.d/bp_init.sh 2011-04-29 16:23:56 <3> setup(4099) [bash] ShellCommand.cc(shellcommand):78 cp: Aufruf von stat für „/tmp/YaST2-04099-jGfbWg/tmp_mount//bp_init.sh“ nicht möglich: Datei oder Verzeichnis nicht gefunden 2011-04-29 16:23:56 <3> setup(4099) [YCP] AutoinstScripts.ycp:471 script file://autoyast/bp_init.sh could not be retrieved With best regards, Sravan -----Original Message----- From: Sivaraju, Sravan (ext) Sent: Freitag, 29. April 2011 13:09 To: opensuse-autoinstall@opensuse.org Subject: [opensuse-autoinstall] RE: How to fetch scripts from outside profile file (was: AutoYast script location) Hello Everyone, I am trying to fetch the chroot, post and init scripts from the cd instead of directly including them in the profile file. We are using SLES-10-SP1 I have used below structure in the profile file: <scripts> <chroot-scripts config:type="list"> <script> <chrooted config:type="boolean">true</chrooted> <interpreter>shell</interpreter> <filename>bp_chrooted.sh</filename> <location>file:///autoyast/bp_chrooted.sh</location> </script> </chroot-scripts> <post-scripts config:type="list"> <script> <filename>bp_post.sh</filename> <interpreter>shell</interpreter> <location>file:///autoyast/bp_post.sh</location> </script> </post-scripts> <init-scripts config:type="list"> <script> <filename>bp_init.sh</filename> <interpreter>shell</interpreter> <location>file:///autoyast/bp_init.sh</location> </script> </init-scripts> </scripts> But, i am getting below error in the y2log-1, y2log and the scripts are not being executed in their respective stages. 2011-04-29 13:03:33 <1> 10.99.2.1(3371) [YCP] AutoinstScripts.ycp:484 Writing chroot script into /mnt/var/adm/autoinstall/scripts/bp_chrooted.sh 2011-04-29 13:03:33 <1> 10.99.2.1(3371) [agent-system] SystemAgent.cc(Execute):1098 mkdir /tmp/YaST2-03371-PBsSOo/tmp_mount 2011-04-29 13:03:33 <1> 10.99.2.1(3371) [YCP] autoinstall/io.ycp:119 Copy profile: cp /autoyast/bp_chrooted.sh /mnt/var/adm/autoinstall/scripts/bp_chrooted.sh 2011-04-29 13:03:33 <1> 10.99.2.1(3371) [YCP] autoinstall/io.ycp:131 Trying to find file on installation media: cd 2011-04-29 13:03:36 <1> 10.99.2.1(3371) [YCP] autoinstall/io.ycp:145 Copy profile: cp /tmp/YaST2-03371-PBsSOo/tmp_mount//autoyast/bp_chrooted.sh /mnt/var/adm/autoinstall/scripts/bp_chrooted.sh 2011-04-29 13:03:36 <3> 10.99.2.1(3371) [YCP] AutoinstScripts.ycp:489 script file:///autoyast/bp_chrooted.sh <file:///autoyast/bp_chrooted.sh> could not be retrieved 2011-04-29 13:11:17 <1> setup(4099) [YCP] AutoinstScripts.ycp:502 Writing script into /var/adm/autoinstall/scripts/bp_post.sh 2011-04-29 13:11:17 <1> setup(4099) [agent-system] SystemAgent.cc(Execute):1098 mkdir /tmp/YaST2-04099-Sr6obY/tmp_mount 2011-04-29 13:11:17 <1> setup(4099) [YCP] autoinstall/io.ycp:119 Copy profile: cp /autoyast/bp_post.sh /var/adm/autoinstall/scripts/bp_post.sh 2011-04-29 13:11:17 <3> setup(4099) [bash] ShellCommand.cc(shellcommand):78 cp: Aufruf von stat für „/autoyast/bp_post.sh“ nicht möglich: Datei oder Verzeichnis nicht gefunden 2011-04-29 13:11:17 <1> setup(4099) [YCP] autoinstall/io.ycp:131 Trying to find file on installation media: cd 2011-04-29 13:11:19 <1> setup(4099) [YCP] autoinstall/io.ycp:145 Copy profile: cp /tmp/YaST2-04099-Sr6obY/tmp_mount//autoyast/bp_post.sh /var/adm/autoinstall/scripts/bp_post.sh 2011-04-29 13:11:19 <3> setup(4099) [bash] ShellCommand.cc(shellcommand):78 cp: Aufruf von stat für „/tmp/YaST2-04099-Sr6obY/tmp_mount//autoyast/bp_post.sh“ nicht möglich: Datei oder Verzeichnis nicht gefunden 2011-04-29 13:11:19 <3> setup(4099) [YCP] AutoinstScripts.ycp:507 script file:///autoyast/bp_post.sh <file:///autoyast/bp_post.sh> could not be retrieved 2011-04-29 13:11:19 <1> setup(4099) [YCP] AutoinstScripts.ycp:548 Script Execution command: /bin/sh -x /var/adm/autoinstall/scripts/bp_post.sh 2&> /var/adm/autoinstall/logs/bp_post.sh.log 2011-04-29 13:11:19 <1> setup(4099) [YCP] AutoinstScripts.ycp:465 Writing init script into /var/adm/autoinstall/init.d/bp_init.sh 2011-04-29 13:11:19 <1> setup(4099) [agent-system] SystemAgent.cc(Execute):1098 mkdir /tmp/YaST2-04099-Sr6obY/tmp_mount 2011-04-29 13:11:19 <1> setup(4099) [YCP] autoinstall/io.ycp:119 Copy profile: cp /autoyast/bp_init.sh /var/adm/autoinstall/init.d/bp_init.sh 2011-04-29 13:11:19 <3> setup(4099) [bash] ShellCommand.cc(shellcommand):78 cp: Aufruf von stat für „/autoyast/bp_init.sh“ nicht möglich: Datei oder Verzeichnis nicht gefunden 2011-04-29 13:11:19 <1> setup(4099) [YCP] autoinstall/io.ycp:131 Trying to find file on installation media: cd 2011-04-29 13:11:20 <1> setup(4099) [YCP] autoinstall/io.ycp:145 Copy profile: cp /tmp/YaST2-04099-Sr6obY/tmp_mount//autoyast/bp_init.sh /var/adm/autoinstall/init.d/bp_init.sh 2011-04-29 13:11:20 <3> setup(4099) [bash] ShellCommand.cc(shellcommand):78 cp: Aufruf von stat für „/tmp/YaST2-04099-Sr6obY/tmp_mount//autoyast/bp_init.sh“ nicht möglich: Datei oder Verzeichnis nicht gefunden 2011-04-29 13:11:20 <3> setup(4099) [YCP] AutoinstScripts.ycp:471 script file:///autoyast/bp_init.sh <file:///autoyast/bp_init.sh> could not be retrieved With best regards, Sravan N r y隊Z)z{. 殶 ֥ 맲 r z ^ ˬz uح ڕ & ݱ隊Z)z{. 殶 ֥ ^ )z{. +

on Friday 29 April 2011 Sivaraju, Sravan (ext) wrote:
I tried some more possibilities by playing around with the location of scripts. But no use :-(
don't use "file://" with two slashes only. You can see in your log that this can not work. With three slashes, autoyast will mount the device that is set in "Cdrom:" in /etc/install.inf That device will be mounted and if that does not work, autoyast will complain in the logfile. So it seems to have worked. Then the cp fails for some reason. Can you do the process of mounting/copying manually during the installation and that works then? -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org

Hello Mr.Gansert, Yes, the manual mount and copy during installation are working fine. Are there any other clues for this ? Now, I am left with no options :-( With best regards, Sravan Sivaraju -----Original Message----- From: Uwe Gansert [mailto:ug@suse.de] Sent: Freitag, 29. April 2011 16:03 To: opensuse-autoinstall@opensuse.org Subject: Re: [opensuse-autoinstall] RE: How to fetch scripts from outside profile file (was: AutoYast script location) on Friday 29 April 2011 Sivaraju, Sravan (ext) wrote:
I tried some more possibilities by playing around with the location of scripts. But no use :-(
don't use "file://" with two slashes only. You can see in your log that this can not work. With three slashes, autoyast will mount the device that is set in "Cdrom:" in /etc/install.inf That device will be mounted and if that does not work, autoyast will complain in the logfile. So it seems to have worked. Then the cp fails for some reason. Can you do the process of mounting/copying manually during the installation and that works then? -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org

Hello Mr.Gansert, I think I can throw more light into this. We do profile based autoinstall in our environment using classes and rules. In Disk1: boot/i386/loader/isolinux.cfg file, we have something like below... default harddisk # hard disk label harddisk localboot 0x80 # install label BP kernel linux append initrd=initrd splash=silent install=cdrom netdevice=eth0 netsetup=1 Language=de_DE autoyast=file:///profiles/bp/ showopts # install label DOK(OhneRAID) kernel linux append initrd=initrd splash=silent install=cdrom netdevice=eth0 netsetup=1 Language=de_DE autoyast=file:///profiles/dok/ showopts ... ... ...
From the above file, our BP installation pics file:///profiles/bp/classes/bp/bp.xml file without any problem. But when we used file:///bp_chrooted.sh in the bp.xml file, this is not working.
Anything to do with "autoyast=file:///profiles/bp" statement above ? With best regards, Sravan Sivaraju -----Original Message----- From: Sivaraju, Sravan (ext) Sent: Montag, 2. Mai 2011 12:25 To: opensuse-autoinstall@opensuse.org Subject: RE: [opensuse-autoinstall] RE: How to fetch scripts from outside profile file (was: AutoYast script location) Hello Mr.Gansert, Yes, the manual mount and copy during installation are working fine. Are there any other clues for this ? Now, I am left with no options :-( With best regards, Sravan Sivaraju -----Original Message----- From: Uwe Gansert [mailto:ug@suse.de] Sent: Freitag, 29. April 2011 16:03 To: opensuse-autoinstall@opensuse.org Subject: Re: [opensuse-autoinstall] RE: How to fetch scripts from outside profile file (was: AutoYast script location) on Friday 29 April 2011 Sivaraju, Sravan (ext) wrote:
I tried some more possibilities by playing around with the location of scripts. But no use :-(
don't use "file://" with two slashes only. You can see in your log that this can not work. With three slashes, autoyast will mount the device that is set in "Cdrom:" in /etc/install.inf That device will be mounted and if that does not work, autoyast will complain in the logfile. So it seems to have worked. Then the cp fails for some reason. Can you do the process of mounting/copying manually during the installation and that works then? -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Sivaraju, Sravan (ext)
-
Uwe Gansert