[sles-beta] SLES12 Beta9 x86_64 autoyast post-scripts, init-scripts get not invoked

Stefan Schubert schubi at suse.de
Mon Jun 23 07:29:17 MDT 2014


Hi,
sounds like bug. Yes, please open a bug report.

Greetings
Stefan

Am 23.06.2014 15:00, schrieb urs.frey at post.ch:
> Hi
> When trying to install SLES12 Beta9 using autoyast I have two very 
> simple scripts autoyast pst-script and autoyast init-script which do 
> not get invoked.
> At least I cannot find my logfiles under /var/adm/autoinstall/logs, as 
> defined in autoinst.xml
>     <post-scripts config:type="list">
>       <script>
>         <filename>post-script.sh</filename>
>         <interpreter>shell</interpreter>
>         <location/>
>         <feedback config:type="boolean">false</feedback>
>         <source><![CDATA[#!/bin/sh
> logdir=/var/adm/autoinstall/logs
> logf=${logdir}/post-script.sh.log
> #
> ls -l /etc/sysconfig/network
> cat /etc/hosts
> #
> sed -i "s/splash=silent/splash=verbose/g" /etc/default/grub
> sed -i "s/quiet//" /etc/default/grub
> /usr/sbin/grub2-mkconfig --output=/boot/grub2/grub.cfg
> sed -i "s/#Port/Port/" /etc/ssh/sshd_config
> sed -i "s/PasswordAuthentication no/PasswordAuthentication yes/" 
> /etc/ssh/sshd_config
> #
> #
> cat /etc/fstab | sort > /etc/fstab_new
> mv -v /etc/fstab_new /etc/fstab
> #
>         ]]></source>
>       </script>
>     </post-scripts>
>     <init-scripts config:type="list">
>       <script>
>         <filename>init-script.sh</filename>
>         <interpreter>shell</interpreter>
>         <location></location>
>         <source><![CDATA[#!/bin/sh
> logdir=/var/adm/autoinstall/logs
> logf=${logdir}/init-script.sh.log
> #
> # initialize snapper here
> echo "configuring snapper for the first time"
> cat /etc/sysconfig/snapper
> ls -lsa /etc/snapper/configs/
> ls -lsa /
> #
> ]]></source>
>       </script>
>     </init-scripts>
>   </scripts>
> With Beta8 this works perfectly, now with Beta9 it does not work anymore.
> I consider this a bug
> Thank for feedback
> Best regards
> Urs Frey
> Post CH AG
> Informationstechnologie
> IT Betrieb
> Webergutstrasse 12
> 3030 Bern (Zollikofen)
> Telefon : ++41 (0)58 338 58 70
> FAX     : ++41 (0)58 667 30 07
> E-Mail: _urs.frey at post.ch_ <mailto:urs.frey at post.ch>
>
>
> _______________________________________________
> sles-beta mailing list
> sles-beta at lists.suse.com
> http://lists.suse.com/mailman/listinfo/sles-beta


-- 
*******************************************************************************
Stefan Schubert
e-mail: schubi at suse.de
-------------------------------------------------------------------------------
SUSE LINUX Products GmbH
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
Maxfeldstraße 5
90409 Nürnberg
Germany



More information about the sles-beta mailing list