more autoinstall questions
Hello, It's me again :-) I've done several hands off autoinstalls and have a couple of problems. First of all, I am not going to run level 5 despite the following in my autoinst.xml file: <runlevels> <default>5</default> <services config:type="list"/> </runlevels> It always comes up in run-level 3. /etc/inittab has the correct entry (id:5:initdefault) so after I reboot, everything is fine. Is this a bug? Does something tell the system to only go to run-level 3? Along the same lines, the keyboard keymapping is always de despite the fact that I have en_US set for language and english-us set for keymap: <keyboard> <keymap>english-us</keymap> </keyboard> <language>en_US</language> After I run yast2 keyboard and hit accept (English is already selected) everything seems fine. Is de the default and the XF86Config file just not being written properly? yast2 seems to be updating /etc/sysconfig/keyboard. What might be wrong here? Root password and pre-scripts/post-scripts are not being executed at all. Here is what I have: Root: <users config:type="list"> <user> <encrypted config:type="boolean">true</encrypted> <user_password>password</user_password> <username>root</username> </user> </users> I've tried "password" as above and the MD5 encrypted string with the same results. No password is set. pre-post-scripts: <post-scripts> <script> <filename>post.sh</filename> <interpreter>shell</interpreter> <source><![CDATA[#!/bin/sh echo "Running Post-install script" ls -lR /tmp df -k /bin/rpm -e autofs /sbin/yast2 -i autofs4 cat /etc/modules.conf | sed -e 's/^#.*alias autofs/alias autofs/' > ttt.new && mv ttt.new /etc/modules.conf /sbin/depmod -a ]]></source> </script> </post-scripts> <pre-scripts> <script> <filename>pre.sh</filename> <interpreter>shell</interpreter> <source><![CDATA[#!/bin/sh echo "Running pre-install script" ls -lR /tmp df -k ]]></source> </script> </pre-scripts> Neither one works. What am I missing? What is the controlling factor when doing an unattended install? When I do this with CD's I don't have these problems! I'm sure there are and will be other questions but that's it for now. Thanks in advance, -dan
participants (1)
-
Dan Transue