Skip to content

Commit

Permalink
Merge pull request #540 from stgraber/vm
Browse files Browse the repository at this point in the history
incus/instance/qemu: Fix RecordOutput
  • Loading branch information
hallyn committed Feb 27, 2024
2 parents 450b91f + e398887 commit f1d9b27
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions internal/server/instance/drivers/driver_qemu.go
Original file line number Diff line number Diff line change
Expand Up @@ -7399,6 +7399,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 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 f1d9b27

Please sign in to comment.