You might try this:
%post
cp /etc/inittab /tmp
sed s/id:3:/id:5:/g /tmp/inittab > /etc/inittab
Jean-Michel Dault
[EMAIL PROTECTED]
[EMAIL PROTECTED]
> Hello,
> thank you to reply. What is exactly the command to use in the ks.cfg in a
> %post section to replace id:3:initdefault per id:5:initdefault. I have not
> the good one I think.
>
> Thanks
> Jean-Philippe
>
> On Wed, 16 Jun 1999, Jean-Michel Dault wrote:
>
> >
> > Hello,
> >
> > I have seen this also. It seems kickstart lacks a few options.
> >
> > Here's a fix: in your ks.cfg, you can add a %post section. Use a sed
> > command to replace the id:3:initdefault by id:5:initdefault.
> >
> > Jean-Michel
> > [EMAIL PROTECTED]
> > [EMAIL PROTECTED]
> >
> >
> >
> > On Wed, 16 Jun 1999, Jean-Philippe Berron wrote:
> >
> > > Date: Wed, 16 Jun 1999 17:26:54 +0100 (BST)
> > > From: Jean-Philippe Berron <[EMAIL PROTECTED]>
> > > Reply-To: [EMAIL PROTECTED]
> > > To: [EMAIL PROTECTED]
> > > Subject: [expert] kickstart for Linux
> > >
> > >
> > > Hello,
> > >
> > > I have a problem with kickstart under Linux. I would like to use mandrake
> > > version 6.0 and I have the same problem with RedHat60.
> > > When the configuration is totally automatic and that I have only to insert
> > > the floppy disk of boot on the client. When the installation is finish, I
> > > can only use the graphical interface KDE and the others don't work and I
> > > need to launch KDE by taping xdm or startx.
> > > But, when the installation is not totally automatic on the client and that
> > > I have to configure manually the mouse, the screen, the root password and
> > > the timezone. It works and the graphical interfaces are launched at the
> > > boot of the computer. I can now choose between KDE, GNOME and the others
> > > grapical interfaces.
> > >
> > > Any idea??
> > > Can you help me?
> > >
> > > Thanks
> > >
> > > Jean-Philippe
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> >
> >
>
>