I'm trying to setup a CoreOS-based cluster with SLURM for research 
purposes. I built custom CoreOS PXE image with integrated sys-cluster/slurm 
package and SLURM's daemons require certain users to run. UIDs do not have 
to be specific, right now I create users via cloud init and it works. But I 
think it would be more convinient to add these users to custom CoreOS image.
Ignition seems much more convinient than cloud init, I have not tried it 
yet. Is it possible to use Ignition first and then complete node 
configuration with cloud init?

понедельник, 5 декабря 2016 г., 23:57:36 UTC+3 пользователь Alex Crawford 
написал:
>
> On 12/03, [email protected] <javascript:> wrote: 
> > Is there a way to add system users with UIDs below 1000 to CoreOS image? 
>
> You can use Ignition to create users: 
>
>   { 
>     "ignition": { "version": "2.0.0" }, 
>     "passwd": { 
>       "users": [{ 
>         "name": "me", 
>         "create": { "uid": 400 } 
>       }] 
>     } 
>   } 
>
> This results in the following: 
>
>   $ id 
>   uid=400(me) gid=1000(me) groups=1000(me) 
> context=system_u:system_r:kernel_t:s0 
>
> > They required for running some service units. 
>
> Why do the services require users with specific UIDs? 
>
> -Alex 
>

Reply via email to