mirror of
https://github.com/vagrant-libvirt/vagrant-libvirt.git
synced 2025-02-25 18:55:27 -06:00
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:
parent
fdff19b311
commit
17876ee81c
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user