Enable SSH account during Kickstart/Preseed

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

ยทยทยท On Tue, Mar 14, 2017 at 8:40 PM, Matt 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