Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
internal/server/instance/drivers: Don't return an error if console lo…
…g file doesn't exist Right at VM creation, the ring buffer for the console is empty. If you try to access an interactive console, such as by running a command like `incus launch images:ubuntu/24.04 v1 --vm --console`, you'd get an error that the log file doesn't exist when attempting to save off the ring buffer contents prior to switching to the unix socket connection. We shouldn't return an error, but rather an empty string in this case. Signed-off-by: Mathias Gibbens <mathias.gibbens@futurfusion.io>
- Loading branch information