On Feb 23, 2012, at 10:00 AM, Uwe Gansert wrote:
Or is there a autoyast way to see the output from the various scripts during their run ?
no, there is no special autoyast way to show the output of init-scripts
While it would be nice if there were, I've worked around it by modifying /etc/init.d/autoyast in a post-script: ==== <post-scripts config:type="list"> <script> <!-- changes to /etc files: NFSv4 domain, sysctl, etc. --> <filename>confs.sh</filename> <source> <![CDATA[#!/bin/sh test -f /etc/idmapd.conf && perl -pi -e 's/(^Domain = ).*/\1my.nfs4.domain/' /etc/idmapd.conf cat >> /etc/sysctl.conf << EOF # name core files <proc_name>.core kernel.core_pattern = %e.core EOF # apply settings from sysctl.conf /sbin/sysctl -p # make init-scripts show output to screen perl -pi -e 's,2&>,2>&1 | tee ,' /etc/init.d/autoyast ]]> </source> </script> </post-scripts> ==== Note the perl line -- this changes 'sh -x $script 2&> $LOG_DIR/$BASENAME.log' to 'sh -x $script 2>&1 | tee $LOG_DIR/$BASENAME.log'. On SLES 11 and openSUSE 11.x at least this causes init script output to be displayed on the console -- not sure about openSUSE 12.1 with its systemd. Andrew Daugherity Systems Analyst Division of Research, Texas A&M University -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-autoinstall+owner@opensuse.org