8000 update cap net admin comment · coder/coder@934a222 · GitHub
[go: up one dir, main page]

Skip to content

Commit 934a222

Browse files
committed
update cap net admin comment
1 parent 780483b commit 934a222

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

agent/agentcontainers/api.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1034,7 +1034,7 @@ func (api *API) injectSubAgentIntoContainerLocked(ctx context.Context, dc coders
10341034
}
10351035

10361036
// Attempt to add CAP_NET_ADMIN to the binary to improve network
1037-
// performance (optional, allow to fail).
1037+
// performance (optional, allow to fail). See `bootstrap_linux.sh`.
10381038
if _, err := api.ccli.ExecAs(ctx, container.ID, "root", "setcap", "cap_net_admin+ep", coderPathInsideContainer); err != nil {
10391039
logger.Warn(ctx, "set CAP_NET_ADMIN on agent binary failed", slog.Error(err))
10401040
}

0 commit comments

Comments
 (0)
0