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

Oliver Schweikert <[email protected]> Tue, 12 May 2015 15:19:55 +0200
Newsgroups gmane.linux.suse.autoinstall
Message-ID <[email protected]>
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]