mirror of
https://github.com/hashicorp/vagrant.git
synced 2026-06-09 08:42:18 -04:00
Get communicator from remote machine
This commit is contained in:
parent
10f176950d
commit
5ba4cf0363
1 changed files with 7 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue