Get communicator from remote machine

This commit is contained in:
sophia 2021-12-09 17:30:41 -06:00 committed by Paul Hinze
parent 10f176950d
commit 5ba4cf0363
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0

View File

@ -34,6 +34,13 @@ module VagrantPlugins
def connection_info
end
# @return [Communicator] machine communicator
def communicate
logger.debug("Getting guest from remote machine")
c = client.communicate(Empty.new)
Communicator.load(c, broker: broker)
end
# @return [Guest] machine guest
# TODO: This needs to be loaded properly
def guest