1
0
Fork 0

VM commands debug logs

timestamps
dump_stack() 2023-03-19 13:30:10 +00:00
parent 21d8bec382
commit 04106e7537
Signed by: dump_stack
GPG Key ID: BE44DA8C062D87DC
1 changed files with 3 additions and 0 deletions

View File

@ -343,6 +343,9 @@ func (q System) ssh(user string) (client *ssh.Client, err error) {
// Command executes shell commands on qemu system
func (q System) Command(user, cmd string) (output string, err error) {
log.Debug().Str("kernel", q.kernel.KernelPath).
Str("user", user).Str("cmd", cmd).Msg("qemu command")
client, err := q.ssh(user)
if err != nil {
return