[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Adding users in %pre section of the kickstart file
- From: "Cipriano Groenendal" <cipri campai nl>
- To: <kickstart-list redhat com>
- Subject: Re: Adding users in %pre section of the kickstart file
- Date: Thu, 3 Apr 2003 11:11:01 +0200
> We are installing a package during the installation of
> the Linux machine using the kickstart file.
> But a pre-requisite for the package installation is
> that an useraccount has to be present.
> Can we add an /usr/sbin/useradd command in the %pre
> section of the kickstart file ?
> Will this resolve the problem. Is there any better way
> of achieving the same ?
In the %pre section the system doesn't exist yet, AFAIK. You thus can't run
commands for the simple reason that nothing is installed yet.
A better sollution would be to simply use the RPM's ``%pre'' section to do
this. It's bene some time since I've worked with SPEC files, but IIRC, there
is a way you can run commands before the RPM is installed.
Cipri
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]