Re: SLES 12 autoyast ignores chroot-script when chrooted parmeter is not true

Stefan Schubert <[email protected]> Tue, 12 May 2015 15:54:17 +0200
Newsgroups gmane.linux.suse.autoinstall
Message-ID <[email protected]>
Well the default value is "false". So that's explains why
chroot-install-virt-monitor2 and chroot-install-virt-monitor3
are behaving the same way.
I am not sure if the logfiles are copied from instsys to
the target system. So it could be that the scripts are
executed, but the logfiles are not copied to the installed
system.
I have seen such kind of "error", if the <filename> section
will not be used and therefore only one script will be
executed. But you have already defined it.

If it is still an issue please create a bug report.

Greetings
Stefan


Am 12.05.2015 um 15:19 schrieb Oliver Schweikert:
> Hello all,
>
> I noticed since SLES 12, that chroot-scripts, that have the
> chrooted parameter not set to "true", explicitly, will get ignored
> and no file gets created at /var/adm/autoinstall/scripts. Same autoyast
> profile worked reliable for SLES 10 SP4 and SLES 11 SP3.
>
> Here is the profile excerpt to reproduce the issue:
>
>  <profile ...>
>    ...
>     <chroot-scripts config:type="list">
>       <script>
>         <filename>chroot-install-virt-monitor1</filename>
>         <interpreter>shell</interpreter>
>         <chrooted config:type="boolean">true</chrooted>
>         <source/>
>       </script>
>       <script>
>         <filename>chroot-install-virt-monitor2</filename>
>         <interpreter>shell</interpreter>
>         <chrooted config:type="boolean">false</chrooted>
>         <source/>
>       </script>
>         <filename>chroot-install-virt-monitor3</filename>
>         <interpreter>shell</interpreter>
>         <source/>
>       </script>
>     </chroot-scripts>
>   </profile>
>
> After installation only one script has been executed:
>
>  # ls /var/adm/autoinstall/scripts
>  chroot-install-virt-monitor1 chroot-install-virt-monitor1-run
>
> Did I miss something or is this a bug?
>
> Best Regards
> Oliver


-- 
*******************************************************************************
Stefan Schubert
e-mail: [email protected]
-------------------------------------------------------------------------------
SUSE LINUX GmbH
GF: Felix Imendörffer, Jane Smithard, Dilip Upmanyu, Graham Norton
HRB 21284 (AG Nürnberg) 
Maxfeldstraße 5
90409 Nürnberg
Germany

-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]