Re: Customizing Anaconda

Danishka Navin <[email protected]> Tue, 16 Apr 2019 17:34:54 +0530
Newsgroups gmane.linux.redhat.anaconda.devel
Message-ID <CAKjxiWQSQ9PGf6u2B1_He4=v5hUm6e71rPYQ4Qe_DSfw9XKASg@mail.gmail.com>
On Tue, Apr 16, 2019 at 4:55 PM Martin Kolman <[email protected]> wrote:

> On Mon, 2019-04-15 at 21:00 +0530, Danishka Navin wrote:
>
> Hi there,
>
> I am working on a fedora remix.
> I need to let user to add organization name/id during the user account
> creation.
>
> Do you mean setting the gecos field for the user ?[0]
>

Some what this is I am expecting but I don't need it to keep in  /etc/passwd
<https://en.wikipedia.org/wiki//etc/passwd> (save it in different file is
good enough) as multiple users in the same system should have same id
(centerid).
we should able to retrieve the given id during the installation if we
remove all local users. Imagine a situation only root account exists. Best
solution is to write that value to a different file such as /etc/centerid
or /etc/service, etc


> Currently this is not supported in the graphicala and text user interface,
> but can be done
> via kickstart (which is basically a config file that can be used to
> configure an installation)[1].
> A kickstart file can be loaded either from network or from local media
> during the installation.
>

Isn't it a static value if we use kickstart ?
Can we prompt user to input a value during the installation using kickstart?

I also thinking about a silent installation (unattended).
It would be great if its possible to prompt via kickstart but I never heard
such option.


> If what you need is really setting the gecos field manually in the user
> interface during the installation,
> it looks like we could add it to the "Advanced" dialog on the user
> configuration screen.
>
> this would be great if if you can enable it.

> Is there any guide or examples on such additional changes for anaconda?
>
>
> Regards,
> --
> Danishka Navin
>
> Best Wishes
> Martin Kolman
>
> [0] https://en.wikipedia.org/wiki/Gecos_field
> [1] https://pykickstart.readthedocs.io/en/latest/kickstart-docs.html#user
>
>
>
>
>
> _______________________________________________
>
> Anaconda-devel-list mailing list
>
> [email protected]
>
>
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list
>
> _______________________________________________
> Anaconda-devel-list mailing list
> [email protected]
> https://www.redhat.com/mailman/listinfo/anaconda-devel-list



-- 
Danishka Navin
http://danishkanavin.blogspot.com
http://twitter.com/danishkanavin

_______________________________________________
Anaconda-devel-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/anaconda-devel-list