Skip to content

Commit

Permalink
VM: Fix RecordOutput (from Incus) (#14102)
Browse files Browse the repository at this point in the history
(cherry picked from commit e39888708011f980edce8fb4bda7f13caac3ef7d)

License: Apache-2.0


Fixes #14101
  • Loading branch information
tomponline authored Sep 16, 2024
2 parents e6a6119 + 9e36c17 commit e4785c7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lxd/instance/drivers/driver_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -7724,6 +7724,9 @@ func (d *qemu) Exec(req api.InstanceExecPost, stdin *os.File, stdout *os.File, s
// websockets for control and for capturing output to a file on the LXD server.
req.WaitForWS = true

// Similarly, output recording is performed on the host rather than in the guest, so clear that bit from the request.
req.RecordOutput = false

op, err := agent.ExecInstance("", req, &args)
if err != nil {
return nil, err
Expand Down

0 comments on commit e4785c7

Please sign in to comment.