manipulating init states in anaconda
Philip Rowlands
phr at doc.ic.ac.uk
Wed Jun 8 20:34:24 UTC 2005
On Wed, 8 Jun 2005, Klaus Steden wrote:
>Well, it seems (or so I seem to have discovered but I'm willing to be
>corrected) that if you specify 'skipx', the default init state is 3,
>while specifying X11 parameters leaves you with a default init state of
>5. This is reasonable enough for my needs.
"runlevel" is the operative word here. As you've found, skipx will
choose between 3/5, but for more fine-grained control (perhaps you want
X to be configured but not start by default) this will work:
%post
perl -i -p -e 's/^id:.:initdefault:$/id:2:initdefault:/' /etc/inittab
to set runlevel 2, for example.
Cheers,
Phil
More information about the Kickstart-list
mailing list