Skip to content

Commit

Permalink
run: Inject QUBESOME_PROFILE env var into workloads
Browse files Browse the repository at this point in the history
Signed-off-by: Paulo Gomes <[email protected]>
  • Loading branch information
pjbgf committed Jul 10, 2024
1 parent 85cb88e commit b376bca
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/docker/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ func Run(ew types.EffectiveWorkload) error {
args = append(args, fmt.Sprintf("-v=%s:/tmp/.Xauthority:ro", pp))
args = append(args, "-e=XAUTHORITY=/tmp/.Xauthority")
args = append(args, fmt.Sprintf("-v=/tmp/.X11-unix/X%[1]d:/tmp/.X11-unix/X%[1]d", ew.Profile.Display))
args = append(args, fmt.Sprintf("-e=QUBESOME_PROFILE=%s", ew.Profile.Name))

//nolint
if wl.Mime {
Expand Down

0 comments on commit b376bca

Please sign in to comment.