Start adding updates for remote environment in ruby runtime

This commit is contained in:
Chris Roberts 2021-05-25 13:29:48 -07:00 committed by Paul Hinze
parent 95fe1723b8
commit 6994f5d5a7
No known key found for this signature in database
GPG Key ID: B69DEDF2D55501C0
2 changed files with 19 additions and 0 deletions

View File

@ -19,6 +19,8 @@ module Vagrant
# etc. In day-to-day usage, every `vagrant` invocation typically
# leads to a single Vagrant environment.
class Environment
autoload :Remote, "vagrant/environment/remote"
# This is the current version that this version of Vagrant is
# compatible with in the home directory.
#

View File

@ -0,0 +1,17 @@
module Vagrant
class Environment
module Remote
def self.prepended(klass)
klass.class_eval do
attr_reader :client
end
end
def initialize(opts={})
super
@client = opts[:client]
end
end
end
end