mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 18:35:44 +03:00
Merge pull request #950 from mssola/raw-exec-user
client: added the "user" option to tasks
This commit is contained in:
@@ -176,7 +176,7 @@ func (d *JavaDriver) Start(ctx *ExecContext, task *structs.Task) (DriverHandle,
|
||||
Args: args,
|
||||
FSIsolation: true,
|
||||
ResourceLimits: true,
|
||||
User: cstructs.DefaultUnpriviledgedUser,
|
||||
User: getExecutorUser(task),
|
||||
}, executorCtx)
|
||||
if err != nil {
|
||||
pluginClient.Kill()
|
||||
|
||||
Reference in New Issue
Block a user