Re: [suse-autoinstall] more autoinstall questions
It's my understanding that the system always boots into runlevel 3 on the first boot. Reboot and it should go to 5. Regards, Jonathon M. Robison Linux Integration Architect SIE/Advanced Technology Ford Motor Company 313-323-9529
Thanks for the reply. The issue here is that the results are different with an autoinstall vs a manual install with CDs. With CDs, the system goes to runlevel 5 as I would expect it to do. After the autoinstall completes, the system comes up to runlevel 3. As I originally said, after any reboot, it stays at runlevel 5. Just to be clear, I am trying to create an autoinstall setup that duplicates the exact environment when using CDs. Ultimately I hope to extend that and more fully customize the install. My experience so far, is that installing manually with CDs vs. autoinstalls don't produce the same results. I guess I am looking for what are the defaults? Is that what is happening? If so, why is it happening with autoinstalls and not with manual installs. Confused yet? I know I am! :-) -dan Robison, Jonathon (M.) wrote:
It's my understanding that the system always boots into runlevel 3 on the first boot. Reboot and it should go to 5.
Regards,
Jonathon M. Robison Linux Integration Architect SIE/Advanced Technology Ford Motor Company 313-323-9529
------------------------------------------------------------------------
Subject: [suse-autoinstall] more autoinstall questions From: Dan Transue <Dan.Transue@Sun.COM> Date: Wed, 22 Oct 2003 13:08:08 -0400 To: suse-autoinstall <suse-autoinstall@suse.com>
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 (2)
-
Dan Transue
-
Robison, Jonathon (M.)