silence the qemu_use_agent warning message (#1598)

the message fills the screen with expected warnings messages

when we need to debug this problem the message is already logged, so
there is no need to show it in the normal case

these are the warning messages that were displayed:

```
==> debian: Waiting for domain to get an IP address...
Unable to receive IP via qemu agent: [Call to virDomainQemuAgentCommand failed: Guest agent is not responding: QEMU guest agent is not connected]
...
==> debian: Waiting for machine to boot. This may take a few minutes...
Unable to receive IP via qemu agent: [Call to virDomainQemuAgentCommand failed: Guest agent is not responding: QEMU guest agent is not connected]
...
```
This commit is contained in:
Rui Lopes 2022-09-17 19:22:15 +01:00 committed by GitHub
parent fdff19b311
commit 17876ee81c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -234,7 +234,6 @@ module VagrantPlugins
@logger.debug(response)
addresses = JSON.parse(response)
rescue StandardError => e
puts "Unable to receive IP via qemu agent: [#{e.message}]"
@logger.debug("Unable to receive IP via qemu agent: [#{e.message}]")
end