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

Oliver Schweikert <[email protected]> Wed, 13 May 2015 10:50:01 +0200
Newsgroups gmane.linux.suse.autoinstall
Message-ID <[email protected]>
Hi Stefan,

thank you for your reply. I checked again and actually only the script
itself got not copied, but I found the log file, so it got executed.

A difference of SLES 12 since SLES 11 SP3 seems to be, that not all
scripts get copied to /var/adm/autoinstall/scripts. Interestingly, the
pre-scripts get copied.

The absence of the script at the scripts-folder was just misleading.
Thanks once more and

Best Regards,
Oliver


Am 12.05.2015 um 15:54 schrieb Stefan Schubert:
> [...]
> 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
>
>

-- 
Oliver Schweikert
Software Development

HORIBA Europe Automation Division GmbH
Zabergäustr. 3
73765 Neuhausen (Germany)
Tel: +49 7158-933-413
Fax: +49 7158-933-613
Email: [email protected]

Geschäftsführer: Thomas E. Ehmann, Hiroshi Kawamura, Takashi Nagano
Amtsgericht Stuttgart, HRB 213200
-- 
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]