On Tue, Mar 14, 2017 at 8:40 PM, Matt <[email protected]> wrote:
> Hi guys,
>
> Does anyone have an example how we can enable an ssh account during
> Kickstart and Preseed ?
>
> Maybe it's possible to enable this with a global host variable as well ?
>
> Would be nice to see some example.
>
> Thanks,
>
> Matt

AFAIK, the default kickstart and preseed emplates we ship don't have
any functionality for this, but you can just run the right commands in
%post in the kickstart or in the preseed finish script.  An ssh
account is just a user. Run something like useradd -p password user

You can make it some kind of snippet that relies on host parameters,
if you want. See
http://projects.theforeman.org/projects/foreman/wiki/templatewriting

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to