Hello, we have some problems while useing AutoYast to install a server with OpenSUSE 10.2. For some reason and packages we have to use it is not possible to switch to a newer release :(. A problem is, that some scripts are not executed. The other much bigger problem is that the system, after the first reboot is done, not skipping into runlevel 3. I have no idea what might cause the last problem, maybe here is somebody that can give me a hint. Thanks a lot, Christian P.S.: Below may autoinst.xml file: <?xml version="1.0"?> <!DOCTYPE profile SYSTEM "/usr/share/autoinstall/dtd/profile.dtd"> <profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns"> <general> <mode> <confirm config:type="boolean">false</confirm> </mode> <mouse> <id>none</id> </mouse> <signature-handling> <accept_unsigned_file config:type="boolean">true</accept_unsigned_file> <accept_file_without_checksum config:type="boolean">true</accept_file_without_checksum> <accept_verification_failed config:type="boolean">true</accept_verification_failed> <accept_unknown_gpg_key config:type="boolean">true</accept_unknown_gpg_key> </signature-handling> </general> <users config:type="list"> <user> <username>root</username> <user_password>test1234</user_password> <forename/> <surname/> </user> </users> <keyboard> <keyboard_values> <capslock config:type="boolean">false</capslock> <delay></delay> <discaps config:type="boolean">false</discaps> <numlock></numlock> <rate></rate> <scrlock config:type="boolean">false</scrlock> <tty>tty1 tty2 tty3 tty4 tty5 tty6 tty8 tty9 tty10 tty11 tty12 tty13 tty14 tty15 tty16 tty17 tty18 tty19 tty20</tty> </keyboard_values> <keymap>german</keymap> </keyboard> <language> <language>de_DE</language> <languages>de_DE</languages> </language> <partitioning config:type="list"> <drive> <device>/dev/hda</device> <initialize config:type="boolean">true</initialize> <use>all</use> <partitions config:type="list"> <partition> <create config:type="boolean">true</create> <crypt>twofish256</crypt> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <mount>/backup</mount> <noauto config:type="boolean">false</noauto> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">1</partition_nr> <partition_type>primary</partition_type> <resize config:type="boolean">false</resize> <size>max</size> </partition> </partitions> </drive> <drive> <device>/dev/cciss/c0d0</device> <initialize config:type="boolean">true</initialize> <use>all</use> <partitions config:type="list"> <partition> <create config:type="boolean">true</create> <crypt>twofish256</crypt> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <fstopt>acl,user_xattr</fstopt> <label></label> <mount>/</mount> <mountby config:type="symbol">device</mountby> <noauto config:type="boolean">false</noauto> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">1</partition_nr> <partition_type>primary</partition_type> <resize config:type="boolean">false</resize> <size>3G</size> </partition> <partition> <create config:type="boolean">true</create> <crypt>twofish256</crypt> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <fstopt>acl,user_xattr</fstopt> <label></label> <mount>/home</mount> <mountby config:type="symbol">device</mountby> <noauto config:type="boolean">false</noauto> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">4</partition_nr> <partition_type>primary</partition_type> <resize config:type="boolean">false</resize> <size>max</size> </partition> <partition> <create config:type="boolean">true</create> <crypt>twofish256</crypt> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">ext3</filesystem> <format config:type="boolean">true</format> <mount>/var</mount> <partition_id config:type="integer">131</partition_id> <partition_nr config:type="integer">3</partition_nr> <partition_type>primary</partition_type> <resize config:type="boolean">false</resize> <size>4G</size> </partition> <partition> <create config:type="boolean">true</create> <crypt>twofish256</crypt> <crypt_fs config:type="boolean">false</crypt_fs> <filesystem config:type="symbol">swap</filesystem> <format config:type="boolean">true</format> <mount>swap</mount> <partition_id config:type="integer">130</partition_id> <partition_nr config:type="integer">2</partition_nr> <partition_type>primary</partition_type> <resize config:type="boolean">false</resize> <size>2G</size> </partition> </partitions> </drive> </partitioning> <report> <errors> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </errors> <messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </messages> <warnings> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </warnings> <yesno_messages> <log config:type="boolean">true</log> <show config:type="boolean">true</show> <timeout config:type="integer">0</timeout> </yesno_messages> </report> <add-on> <add_on_products config:type="list"> <listentry> <media_url>http://192.168.70.10//suse/openSuse10_2/hptools</media_url> <product>HP Tools</product> <product_dir>/</product_dir> </listentry> <listentry> <media_url>http://192.168.70.10/suse/openSuse10_2/updates-i386</media_url> <product>SuSE-Linux-Updates</product> <product_dir>/</product_dir> </listentry> <listentry> <media_url>http://192.168.70.10//suse/openSuse10_2/pik-i386</media_url> <product>PIK-AddOns</product> <product_dir>/</product_dir> </listentry> </add_on_products> </add-on> <software> <packages config:type="list"> <package>Mesa</package> <package>OpenIPMI</package> <package>PolicyKit</package> <package>SuSEfirewall2</package> <package>a2ps</package> <package>aaa_base</package> <package>aaa_skel</package> <package>acl</package> <package>acpid</package> <package>adaptx</package> <package>alsa</package> <package>ant</package> <package>ant-trax</package> <package>apache2</package> <package>apache2-mod_jk</package> <package>apache2-mod_php5</package> <package>apache2-prefork</package> <package>apcupsd</package> <package>ash</package> <package>at</package> <package>atk</package> <package>attr</package> <package>audit-libs</package> <package>autofs</package> <package>autoyast2</package> <package>autoyast2-installation</package> <package>bash</package> <package>bc</package> <package>bind</package> <package>bind-chrootenv</package> <package>bind-libs</package> <package>bind-utils</package> <package>binutils</package> <package>blocxx</package> <package>boost</package> <package>bootcycle</package> <package>bootsplash</package> <package>bootsplash-theme-SuSE</package> <package>bzip2</package> <package>cairo</package> <package>castor</package> <package>castor-xml</package> <package>checkmedia</package> <package>cifs-mount</package> <package>classpath</package> <package>compat</package> <package>compat-libstdc++</package> <package>compat-openssl097g</package> <package>convmv</package> <package>coreutils</package> <package>courier-authlib</package> <package>courier-authlib-ldap</package> <package>courier-imap</package> <package>cpio</package> <package>cpufrequtils</package> <package>cracklib</package> <package>cron</package> <package>cups-libs</package> <package>curl</package> <package>cyrus-sasl</package> <package>cyrus-sasl-plain</package> <package>cyrus-sasl-saslauthd</package> <package>db</package> <package>db-utils</package> <package>dbus-1</package> <package>dbus-1-glib</package> <package>dbus-1-mono</package> <package>deltarpm</package> <package>device-mapper</package> <package>dhcp</package> <package>dhcp-server</package> <package>dhcp-tools</package> <package>dhcpcd</package> <package>dialog</package> <package>diffutils</package> <package>dirmngr</package> <package>dmraid</package> <package>dos2unix</package> <package>dosfstools</package> <package>dump</package> <package>e2fsprogs</package> <package>ed</package> <package>ethtool</package> <package>evms</package> <package>expat</package> <package>expect</package> <package>fam</package> <package>fam-server</package> <package>fbset</package> <package>file</package> <package>filesystem</package> <package>fillup</package> <package>findutils</package> <package>fontconfig</package> <package>foomatic-filters</package> <package>fping</package> <package>freetype2</package> <package>g3utils</package> <package>gawk</package> <package>gcc-gij</package> <package>gcc41-gij</package> <package>gconf2</package> <package>gdb</package> <package>gdbm</package> <package>gettext</package> <package>ghostscript-fonts-std</package> <package>ghostscript-library</package> <package>giflib</package> <package>glib</package> <package>glib2</package> <package>glibc</package> <package>glibc-i18ndata</package> <package>glibc-locale</package> <package>glitz</package> <package>gnome-filesystem</package> <package>gnutls</package> <package>gpart</package> <package>gpg</package> <package>gpg2</package> <package>gpgme</package> <package>gpm</package> <package>grep</package> <package>groff</package> <package>grub</package> <package>gtk2</package> <package>gzip</package> <package>hal</package> <package>hal-resmgr</package> <package>hdparm</package> <package>hfsutils</package> <package>hplip</package> <package>hplip-hpijs</package> <package>hwinfo</package> <package>ifplugd</package> <package>imap-lib</package> <package>info</package> <package>initviocons</package> <package>insserv</package> <package>inst-source-utils</package> <package>iproute2</package> <package>iptables</package> <package>iputils</package> <package>irqbalance</package> <package>itatanywhere</package> <package>jaf</package> <package>jakarta-commons-beanutils</package> <package>jakarta-commons-collections</package> <package>jakarta-commons-daemon</package> <package>jakarta-commons-dbcp</package> <package>jakarta-commons-digester</package> <package>jakarta-commons-el</package> <package>jakarta-commons-fileupload</package> <package>jakarta-commons-lang</package> <package>jakarta-commons-launcher</package> <package>jakarta-commons-logging</package> <package>jakarta-commons-modeler</package> <package>jakarta-commons-pool</package> <package>jakarta-commons-validator</package> <package>jakarta-taglibs-standard</package> <package>java</package> <package>javamail</package> <package>jfsutils</package> <package>jmx</package> <package>jpackage-utils</package> <package>jpeg</package> <package>jta</package> <package>kbd</package> <package>kernel-bigsmp</package> <package>klogd</package> <package>krb5</package> <package>ksh</package> <package>ksymoops</package> <package>ldapcpplib</package> <package>ldapjdk</package> <package>less</package> <package>libacl</package> <package>libapr-util1</package> <package>libapr1</package> <package>libart_lgpl</package> <package>libattr</package> <package>libcap</package> <package>libcom_err</package> <package>libdrm</package> <package>libedit</package> <package>libevent</package> <package>libexif</package> <package>libgcc41</package> <package>libgcj41</package> <package>libgcrypt</package> <package>libgdiplus</package> <package>libgimpprint</package> <package>libgpg-error</package> <package>libgssapi</package> <package>libicu</package> <package>libidl</package> <package>libidn</package> <package>libiniparser</package> <package>libjpeg</package> <package>libksba</package> <package>liblazy</package> <package>liblcms</package> <package>libltdl</package> <package>libmcrypt</package> <package>libmng</package> <package>libmsrpc</package> <package>libnetpbm</package> <package>libnscd</package> <package>libopencdk</package> <package>libpcap</package> <package>libpng</package> <package>librpcsecgss</package> <package>libsmbclient</package> <package>libstdc++41</package> <package>libtiff</package> <package>libusb</package> <package>libvolume_id</package> <package>libxcrypt</package> <package>libxml2</package> <package>libxslt</package> <package>liby2util</package> <package>libzio</package> <package>libzypp</package> <package>limal</package> <package>limal-bootloader</package> <package>limal-perl</package> <package>log4j</package> <package>logrotate</package> <package>lpdfilter</package> <package>lprng</package> <package>lsof</package> <package>lzo</package> <package>mailx</package> <package>man</package> <package>man-pages</package> <package>manufacturer-PPDs</package> <package>master-boot-code</package> <package>mdadm</package> <package>mhash</package> <package>microcode_ctl</package> <package>mingetty</package> <package>mkinitrd</package> <package>mkisofs</package> <package>mktemp</package> <package>mm</package> <package>module-init-tools</package> <package>mono-basic</package> <package>mono-core</package> <package>mono-data</package> <package>mono-extras</package> <package>mono-web</package> <package>mono-winforms</package> <package>mpt-status</package> <package>multipath-tools</package> <package>mutt</package> <package>mx4j</package> <package>mysql-shared</package> <package>nagios-plugins</package> <package>nagios-plugins-setuid</package> <package>ncftp</package> <package>ncurses</package> <package>net-snmp</package> <package>net-tools</package> <package>netcat</package> <package>netcfg</package> <package>netpbm</package> <package>nfs-utils</package> <package>nfsidmap</package> <package>nrpe</package> <package>nscd</package> <package>nss_ldap</package> <package>ntfsprogs</package> <package>openSUSE-release</package> <package>openct</package> <package>openldap2</package> <package>openldap2-client</package> <package>opensc</package> <package>openslp</package> <package>openssh</package> <package>openssl</package> <package>orbit2</package> <package>oro</package> <package>pam</package> <package>pam-config</package> <package>pam-modules</package> <package>pam_ldap</package> <package>pango</package> <package>parted</package> <package>patch</package> <package>pax</package> <package>pciutils</package> <package>pciutils-ids</package> <package>pcre</package> <package>pcsc-lite</package> <package>perl</package> <package>perl-Archive-Tar</package> <package>perl-Bootloader</package> <package>perl-Class-Date</package> <package>perl-Compress-Zlib</package> <package>perl-Config-Crontab</package> <package>perl-Convert-ASN1</package> <package>perl-Crypt-DES</package> <package>perl-Crypt-SSLeay</package> <package>perl-Digest-HMAC</package> <package>perl-Digest-SHA1</package> <package>perl-Env-C</package> <package>perl-File-chdir</package> <package>perl-HTML-Parser</package> <package>perl-HTML-Tagset</package> <package>perl-Net-DNS</package> <package>perl-Net-IP</package> <package>perl-Net-SNMP</package> <package>perl-SNMP</package> <package>perl-TermReadKey</package> <package>perl-URI</package> <package>perl-XML-DOM</package> <package>perl-XML-Parser</package> <package>perl-XML-RegExp</package> <package>perl-XML-Writer</package> <package>perl-gettext</package> <package>perl-ldap</package> <package>perl-libwww-perl</package> <package>perl-libxml-perl</package> <package>permissions</package> <package>pgperl</package> <package>php5</package> <package>php5-ctype</package> <package>php5-curl</package> <package>php5-dom</package> <package>php5-exif</package> <package>php5-gd</package> <package>php5-gettext</package> <package>php5-hash</package> <package>php5-iconv</package> <package>php5-imap</package> <package>php5-json</package> <package>php5-ldap</package> <package>php5-mbstring</package> <package>php5-mcrypt</package> <package>php5-mhash</package> <package>php5-pdo</package> <package>php5-posix</package> <package>php5-shmop</package> <package>php5-sqlite</package> <package>php5-sysvmsg</package> <package>php5-sysvsem</package> <package>php5-sysvshm</package> <package>php5-tokenizer</package> <package>php5-xmlreader</package> <package>php5-xmlrpc</package> <package>php5-xmlwriter</package> <package>php5-xsl</package> <package>pinentry</package> <package>pm-utils</package> <package>pmtools</package> <package>popt</package> <package>portmap</package> <package>postfix</package> <package>postgresql</package> <package>postgresql-jdbc</package> <package>postgresql-libs</package> <package>postgresql-server</package> <package>powersave</package> <package>powersave-libs</package> <package>ppp</package> <package>pptp</package> <package>prctl</package> <package>preload</package> <package>procinfo</package> <package>procmail</package> <package>procps</package> <package>providers</package> <package>psmisc</package> <package>pwdutils</package> <package>python</package> <package>python-qt</package> <package>python-xml</package> <package>qlogic-firmware</package> <package>qscintilla</package> <package>qt3</package> <package>quota</package> <package>readline</package> <package>recode</package> <package>regexp</package> <package>reiserfs</package> <package>release-notes</package> <package>resmgr</package> <package>rpm</package> <package>rrdtool</package> <package>rsync</package> <package>samba</package> <package>samba-client</package> <package>samba-doc</package> <package>samba-pdb</package> <package>samba-vscan</package> <package>samba-winbind</package> <package>sash</package> <package>scpm</package> <package>screen</package> <package>scsi</package> <package>sed</package> <package>sensors</package> <package>servletapi5</package> <package>sgml-skel</package> <package>sharutils</package> <package>siga</package> <package>smartmontools</package> <package>smc-backup-helper</package> <package>smc-baseconfig</package> <package>smc-dhcpedit</package> <package>smc-fcs-config</package> <package>smc-libs</package> <package>smc-mod-apache</package> <package>smc-mod-apps</package> <package>smc-mod-avclient</package> <package>smc-mod-avserver</package> <package>smc-mod-backup</package> <package>smc-mod-bootloader</package> <package>smc-mod-dhcpd</package> <package>smc-mod-directories</package> <package>smc-mod-dnsclient</package> <package>smc-mod-fstab</package> <package>smc-mod-ftpd</package> <package>smc-mod-hpasm</package> <package>smc-mod-imap</package> <package>smc-mod-itanywhere</package> <package>smc-mod-ldap</package> <package>smc-mod-ldapclient</package> <package>smc-mod-limits</package> <package>smc-mod-motd</package> <package>smc-mod-nagios_nrpe</package> <package>smc-mod-named</package> <package>smc-mod-net</package> <package>smc-mod-nic</package> <package>smc-mod-ntp</package> <package>smc-mod-postfix</package> <package>smc-mod-postgres</package> <package>smc-mod-print</package> <package>smc-mod-qstechnik</package> <package>smc-mod-quota</package> <package>smc-mod-root</package> <package>smc-mod-routes</package> <package>smc-mod-rpmadm</package> <package>smc-mod-samba</package> <package>smc-mod-services</package> <package>smc-mod-skel</package> <package>smc-mod-snmp</package> <package>smc-mod-squid</package> <package>smc-mod-sshd</package> <package>smc-mod-tftpd</package> <package>smc-mod-ups</package> <package>smc-mod-viserviced</package> <package>smc-mod-viuas</package> <package>smc-mod-vlan</package> <package>smc-mod-wfe</package> <package>smc-t-rex</package> <package>smc-tomcat-watchdog</package> <package>smc-virpattern-watchdog</package> <package>smc-viserviced-watchdog</package> <package>smc-web</package> <package>smc-web-common</package> <package>smcbackend</package> <package>smcbackend_ws</package> <package>smpppd</package> <package>sqlite</package> <package>sqlite2</package> <package>squid</package> <package>squidGuard</package> <package>star</package> <package>strace</package> <package>sudo</package> <package>suse-build-key</package> <package>suseRegister</package> <package>suspend</package> <package>sysconfig</package> <package>sysfsutils</package> <package>syslog-ng</package> <package>sysvinit</package> <package>tar</package> <package>tcl</package> <package>tcpd</package> <package>tcpdump</package> <package>tcsh</package> <package>telnet</package> <package>termcap</package> <package>terminfo</package> <package>tftp</package> <package>timezone</package> <package>tomcat5</package> <package>transfig</package> <package>udev</package> <package>ulimit</package> <package>unzip</package> <package>update-alternatives</package> <package>usbutils</package> <package>utempter</package> <package>util-linux</package> <package>vi-jobservice</package> <package>vim</package> <package>vlan</package> <package>vsftpd</package> <package>w3m</package> <package>wdiff</package> <package>wget</package> <package>wireless-tools</package> <package>wol</package> <package>wvdial</package> <package>wvstreams</package> <package>xalan-j2</package> <package>xerces-j2</package> <package>xfsdump</package> <package>xfsprogs</package> <package>xinetd</package> <package>xml-commons</package> <package>xml-commons-which</package> <package>xntp</package> <package>xorg-x11-libICE</package> <package>xorg-x11-libSM</package> <package>xorg-x11-libX11</package> <package>xorg-x11-libXau</package> <package>xorg-x11-libXdmcp</package> <package>xorg-x11-libXext</package> <package>xorg-x11-libXfixes</package> <package>xorg-x11-libXmu</package> <package>xorg-x11-libXp</package> <package>xorg-x11-libXpm</package> <package>xorg-x11-libXprintUtil</package> <package>xorg-x11-libXrender</package> <package>xorg-x11-libXt</package> <package>xorg-x11-libXv</package> <package>xorg-x11-libfontenc</package> <package>xorg-x11-libs</package> <package>xorg-x11-libxkbfile</package> <package>yast2</package> <package>yast2-backup</package> <package>yast2-bluetooth</package> <package>yast2-bootfloppy</package> <package>yast2-bootloader</package> <package>yast2-core</package> <package>yast2-country</package> <package>yast2-firewall</package> <package>yast2-hardware-detection</package> <package>yast2-inetd</package> <package>yast2-installation</package> <package>yast2-irda</package> <package>yast2-iscsi-client</package> <package>yast2-kerberos-client</package> <package>yast2-ldap</package> <package>yast2-ldap-client</package> <package>yast2-mail</package> <package>yast2-mail-aliases</package> <package>yast2-mouse</package> <package>yast2-ncurses</package> <package>yast2-network</package> <package>yast2-nfs-client</package> <package>yast2-nis-client</package> <package>yast2-ntp-client</package> <package>yast2-online-update</package> <package>yast2-online-update-frontend</package> <package>yast2-packager</package> <package>yast2-pam</package> <package>yast2-perl-bindings</package> <package>yast2-pkg-bindings</package> <package>yast2-power-management</package> <package>yast2-powertweak</package> <package>yast2-profile-manager</package> <package>yast2-registration</package> <package>yast2-repair</package> <package>yast2-restore</package> <package>yast2-runlevel</package> <package>yast2-samba-client</package> <package>yast2-scanner</package> <package>yast2-schema</package> <package>yast2-security</package> <package>yast2-slp</package> <package>yast2-sound</package> <package>yast2-storage</package> <package>yast2-storage-evms</package> <package>yast2-storage-lib</package> <package>yast2-sudo</package> <package>yast2-support</package> <package>yast2-sysconfig</package> <package>yast2-theme-openSUSE</package> <package>yast2-trans-de</package> <package>yast2-trans-stats</package> <package>yast2-transfer</package> <package>yast2-tune</package> <package>yast2-tv</package> <package>yast2-update</package> <package>yast2-users</package> <package>yast2-xml</package> <package>yp-tools</package> <package>ypbind</package> <package>zip</package> <package>zisofs-tools</package> <package>zlib</package> <package>zsh</package> </packages> <patterns config:type="list"> <pattern>LHM-FCS</pattern> <pattern>LHM-Minimal</pattern> <pattern>LHM-yast2_basis</pattern> </patterns> <post-packages config:type="list"> <package>hpacucli</package> <package>hpasm</package> </post-packages> <remove-packages config:type="list"> <package>smtp_daemon</package> </remove-packages> </software> <timezone> <hwclock>localtime</hwclock> <timezone>Europe/Berlin</timezone> </timezone> <runlevel> <default>3</default> </runlevel> <scripts> <pre-scripts config:type="list"> <script> <filename>delete-partitions.sh</filename> <interpreter>shell</interpreter> <source><![CDATA[ #!/bin/sh echo "Deleting partitions on /dev/cciss/c0d0..." dd if=/dev/zero of=/dev/cciss/c0d0 bs=1 count=512 ]]> </source> </script> </pre-scripts> </scripts> <!-- <chroot-scripts config:type="list"> <script> <chrooted config:type="boolean">true</chrooted> <filename>start-yast-patcher.sh</filename> <interpreter>shell</interpreter> <source><![CDATA[ #!/bin/sh cd /usr/local/smc/modules/rpmadm || exit 1 sh -x ./rpmadm-conf -p ]]></source> </script> <script> <chrooted config:type="boolean">true</chrooted> <filename>create-inittab.sh</filename> <interpreter>shell</interpreter> <source><![CDATA[ #!/bin/sh sh -x echo "S0:12345:respawn:/sbin/agetty -L 115200 ttyS1 vt102" >> /etc/inittab ]]></source> </script> </chroot-scripts> <init-scripts config:type="list"> <script> <filename>1-rpmadm.sh</filename> <source><![CDATA[ #!/bin/sh # post-install rpmadm # try to add rpms again (with yast) ( cd /usr/local/smc/modules/rpmadm || exit 1 sh -x ./rpmadm-conf -a ) ]]> </source> </script> <script> <filename>9-cleanup.sh</filename> <source><![CDATA[#!/bin/sh # $Id: default 8176 2008-06-24 11:50:30Z root $ # # cleanup autoinstall # include libraries . /usr/local/smc/lib/smc.inc # access server configuration getConfigVar installserver getConfigVar testmode #installserver=$(grep '^ServerIP:' /etc/install.inf | cut -f2 -d' ') #echo "root: '$ROOT'" target_root="" srvname=$(cut -f1 -d. "/etc/HOSTNAME") do_cleanup() { mkdir -p "/tmp/logs" mount -o rw "${installserver}:/exports/logs" "/tmp/logs" if [ $? -ne 0 ] ; then echo 1>&2 "logs-directory of install-server not mountable for writing" exit 1 fi mkdir -p "/tmp/logs/$srvname" ( cd "/var/adm" tar -zcpf "/tmp/logs/$srvname/$(date +%Y%m%d-%H%M).tar.gz" "autoinstall" "/var/log/YaST2" "$target_root/tmp/install.log" ) umount "/tmp/logs" if ! checkYes "$testmode"; then rm -rf "/var/adm/autoinstall" # yast2-logs contain our complete configuration including passwords # remove them rm -rf "/var/log/YaST2" # remake the directory and set directory-mode mkdir -p "/var/log/YaST2" chmod 700 "/var/log/YaST2" fi } echo >>/tmp/install.log "#### cleanup.sh ####" do_cleanup echo >>/tmp/install.log "starting reboot" # sync filesystems before reboot sync sync sync reboot ]]> </source> </script> </init-scripts> <post-scripts config:type="list"> <script> <filename>start-initiator.sh</filename> <interpreter>shell</interpreter> <source><![CDATA[ #!/bin/sh sh -x /usr/local/smc/bin/initiator -d -init ]]> </source> </script> </post-scripts> </scripts> --> <files config:type="list"> <config_file> <file_path>/etc/inittab</file_path> <file_contents> <![CDATA[ # # /etc/inittab # # Copyright (c) 1996-2002 SuSE Linux AG, Nuernberg, Germany. All rights reserved. # # Author: Florian La Roche, 1996 # Please send feedback to http://www.suse.de/feedback # # This is the main configuration file of /sbin/init, which # is executed by the kernel on startup. It describes what # scripts are used for the different run-levels. # # All scripts for runlevel changes are in /etc/init.d/. # # This file may be modified by SuSEconfig unless CHECK_INITTAB # in /etc/sysconfig/suseconfig is set to "no" # # The default runlevel is defined here id:3:initdefault: # First script to be executed, if not booting in emergency (-b) mode si::bootwait:/etc/init.d/boot # /etc/init.d/rc takes care of runlevel handling # # runlevel 0 is System halt (Do not use this for initdefault!) # runlevel 1 is Single user mode # runlevel 2 is Local multiuser without remote network (e.g. NFS) # runlevel 3 is Full multiuser with network # runlevel 4 is Not used # runlevel 5 is Full multiuser with network and xdm # runlevel 6 is System reboot (Do not use this for initdefault!) # l0:0:wait:/etc/init.d/rc 0 l1:1:wait:/etc/init.d/rc 1 l2:2:wait:/etc/init.d/rc 2 l3:3:wait:/etc/init.d/rc 3 #l4:4:wait:/etc/init.d/rc 4 l5:5:wait:/etc/init.d/rc 5 l6:6:wait:/etc/init.d/rc 6 # what to do in single-user mode ls:S:wait:/etc/init.d/rc S ~~:S:respawn:/sbin/sulogin # what to do when CTRL-ALT-DEL is pressed ca::ctrlaltdel:/sbin/shutdown -r -t 4 now # special keyboard request (Alt-UpArrow) # look into the kbd-0.90 docs for this kb::kbrequest:/bin/echo "Keyboard Request -- edit /etc/inittab to let this work." # what to do when power fails/returns pf::powerwait:/etc/init.d/powerfail start pn::powerfailnow:/etc/init.d/powerfail now #pn::powerfail:/etc/init.d/powerfail now po::powerokwait:/etc/init.d/powerfail stop # for ARGO UPS sh:12345:powerfail:/sbin/shutdown -h now THE POWER IS FAILING # getty-programs for the normal runlevels # <id>:<runlevels>:<action>:<process> # The "id" field MUST be the same as the last # characters of the device (after "tty"). 1:2345:respawn:/sbin/mingetty --noclear tty1 2:2345:respawn:/sbin/mingetty tty2 3:2345:respawn:/sbin/mingetty tty3 4:2345:respawn:/sbin/mingetty tty4 5:2345:respawn:/sbin/mingetty tty5 6:2345:respawn:/sbin/mingetty tty6 # #S0:12345:respawn:/sbin/agetty -L 9600 ttyS0 vt102 #cons:1235:respawn:/sbin/smart_agetty -L 38400 console # # Note: Do not use tty7 in runlevel 3, this virtual line # is occupied by the programm xdm. # # This is for the package xdmsc, after installing and # and configuration you should remove the comment character # from the following line: #7:3:respawn:+/etc/init.d/rx tty7 # modem getty. # mo:235:respawn:/usr/sbin/mgetty -s 38400 modem # fax getty (hylafax) # mo:35:respawn:/usr/lib/fax/faxgetty /dev/modem # vbox (voice box) getty # I6:35:respawn:/usr/sbin/vboxgetty -d /dev/ttyI6 # I7:35:respawn:/usr/sbin/vboxgetty -d /dev/ttyI7 # end of /etc/inittab ]]> </file_contents> <file_owner>root.root</file_owner> <file_permissions>644</file_permissions> </config_file> </files> </profile> -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org